The codesy.io Firefox Extension adds codesy.io information to open-source bugs you visit.
- Clone this repo
- Install the Firefox Add-on SDK to get the SDK Virtual Environment
- Fiddle with the code
- Run
cfx run
to run an instance of Firefox with your code changes
Because cfx run restarts the browser each time you invoke it, it can be a little cumbersome if you are making very frequent changes to an add-on. So, you may also want to do this:
- Get the Extension Auto-Installer
- In a second terminal tab, in the working copy of the addon, do this:
while true ; do cfx xpi ; wget --post-file=codesy.xpi http://localhost:8888/ ; sleep 5 ; done
Now your changes will post to your Firefox browser every five seconds. Check the MDN article on developing without cfx run for more.
By default, the add-on communicates with
api.codesy.io. You should use the
codesy-dev.herokuapp.com dev site while you
work on the add-on. Configure the add-on to use domain codesy-dev.herokuapp.com
in the add-on preferences.