Skip to content

Instantly share code, notes, and snippets.

@stroupaloop
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stroupaloop/fb62db7dabb4f2f475ee to your computer and use it in GitHub Desktop.
Save stroupaloop/fb62db7dabb4f2f475ee to your computer and use it in GitHub Desktop.
Firefox Addon Setup
brew install mozilla-addon-sdk
cfx [options] [command]
# create a new addon in an empty directory
cfx my-addon
# run the addon
cfx run
# export to .xpi format
cfx xpi
# firefox addon auto-installer extension
# script to let it run in the background
while true ; do cfx xpi ; wget --post-file=codesy.xpi http://localhost:8888/ ; sleep 5 ; done
# install node.js (download from website)
# install npm
sudo npm install npm -g
# install grunt (did this in root directory)
sudo npm install -g grunt-cli
# go to project directory
sudo npm install
# run grunt
grunt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment