New FOIA beta site + national portal. The site is based off of 18F recommendations from our discovery sprint with the Department of Justice.
Site content lives the pages in www.foia.gov/
. Glossary terms should be edited in
/js/util/glossary/terms.js.
You can use rvm or rbenv to manage multiple Ruby versions.
Once you've got Ruby installed, install bundler.
$ gem install bundler
Install the dependencies.
$ bundle install
$ npm install
Build the site.
$ make build
Run the tests.
$ make test
Run the site locally.
$ make serve
And open your browser to http://localhost:4000/.
See more in the README.md.
To build for production, set the NODE_ENV
environment variable.
$ NODE_ENV=production make build