-
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
.envto.env.localand update connection information - Run
docker-compose up -dto bring up the web server and database server - Run
docker exec -it gtfs-rails-api-web bashto access running instance - Run
bundle exec rake db:setupto create the database and run the migrations - Run
bundle exec rake import:allto process the data from the GTFS feed - Browse to
http://localhost:3000to browse API endpoints