Last active
August 29, 2015 14:17
-
-
Save stroupaloop/fb62db7dabb4f2f475ee to your computer and use it in GitHub Desktop.
Firefox Addon Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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