-
Notifications
You must be signed in to change notification settings - Fork 3
Developer Quick Start
Stephen Yeargin edited this page Feb 12, 2022
·
1 revision
- Ruby 2.7+
- Bundler
- MySQL
All of the requirements above are spec'd out in the Dockerfile
and docker-compose.yml
files.
- Clone the repository into a project directory
- Copy
.env
to.env.local
and update connection information - Run
docker-compose up -d
to bring up the web server and database server - Run
docker exec -it gtfs-rails-api-web bash
to access running instance - Run
bundle exec rake db:setup
to create the database and run the migrations - Run
bundle exec rake import:all
to process the data from the GTFS feed - Browse to
http://localhost:3000
to browse API endpoints