EFForg / congress-forms-test

Way for volunteers to test EFF's congress-forms repo
8 stars 6 forks source link

congress-forms-test

Way for volunteers to test EFF's congress-forms repo

Copy this to book mark bar

javascript:(function(){s=document.createElement('script');s.type='text/javascript';s.src='https://raw.github.com/davatron5000/fitWeird/master/fitWeird.js?v='+parseInt(Math.random()*99999999);document.body.appendChild(s);})();

Usage

Check out the congress-forms repo for instructions on how to use this tool for your own instance of congress-forms.

Developers

To build the js assets, make sure you have bower, npm, and grunt installed.

Then run:

$ npm install

Now you can build the assets defined in bower.json:

$ grunt build
$ grunt minify

If you want to run the tool locally with docker for development purposes (or if you just don't like hosting on github.io), you can do so:

$ docker run --rm -v $(pwd):/usr/local/apache2/htdocs -p "8080:80" hainish/apache-no-cache
$ firefox http://localhost:8080/