Skip to content

romkedehaan/e-manifest

 
 

Repository files navigation

The e-Manifest App for EPA

Visit 18F Consulting for details about this project.

This is a Ruby/Sinatra app, with a Jekyll static site in the _static directory. The Jekyll site will be generated in the public/ directory, which Sinatra routes to automatically.

Don't edit the public/ folder directly! Jekyll will overwrite everything when building the site.

View the live application »

Running Locally

  1. Install Ruby
  2. Install Bundler (gem install bundler)
  3. Install Postgres and make sure postgres/bin is on your $PATH.
  4. Create an emanifest database in your postgres instance.
  5. Run bundle install to grab the required gems.
  6. Run rake serve. This will build the Jekyll site and start the Sinatra server. If you have set a postgres username and password, try this: DATABASE_URL=postgres://<postgres user>:<password>@localhost/emanifest rake serve or configure the DATABASE_URL environment variable as you see fit.
  7. Go to localhost:9292 and enjoy!

Rake Tasks

  • To build the static site, run rake build.
  • To build and serve the app, run rake serve.
  • To deploy to 18F's cloud, run rake deploy.

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

The EPA e-Manifest project.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 72.1%
  • JavaScript 14.9%
  • HTML 11.6%
  • Ruby 1.4%