GitHub Readme.md
This Ruby on Rails application provides a JSON API representation of the data contained in a given GTFS feed from a local transit provider.
All of the requirements above are spec'd out in the Dockerfile
and docker-compose.yml
files.
.env-dist
to .env
and update connection informationdocker-compose up -d
to bring up the web server and database serverdocker exec -it gtfs-rails-api-web bash
to access running instancebundle exec rake db:setup
to create the database and run the migrationsbundle exec rake import:all
to process the data from the GTFS feedhttp://localhost:3000
to browse API endpoints