🇺🇸 Half Staff
Is the flag at half staff? Half Staff displays the current US flag status in a clean, simple format and allows for browsing past flag notices.
Table of Contents
Half Staff scrapes the contents of Presidential Proclamations looking for presidential orders to fly the American flag at half-staff. Those proclamations are then processed to understand duration and details surrounding the flag lowering, and all the information is saved a PostgreSQL database. Ruby on Rails manages the background processing and builds the pages, hosted on Heroku. CloudFlare operates as a CDN and provides SSL for the final site.
The website is automatically tested with Travis CI on any changes, deploying automatically if tests pass.
Half Staff requires the following to run:
- Ruby 2.3+
First, install the dependencies:
Next, initialize the database:
rake db:create db:migrate
Next, fetch the most recent presidential proclamations:
Next, run the development server
Visit the application at http://localhost:3000.
Your contributions are welcome! Feel free to open an issue or pull request.
Half Staff is licensed under the MIT license.
Copyright © 2016-2017, Jacob Gillespie