An app for aggregating and analyzing the accuracy of GTFS predictions using TripUpdates and VehiclePositions over time.
PostgreSQL and Direnv are available on macOS Homebrew.
asdf installcp .envrc.template .envrc- You may have to adjust
DATABASE_ROOT_URLin this file to reflect your Postgres install, e.g. changingpostgres@toyour_username@
- You may have to adjust
direnv allowmix deps.getmix ecto.setupnpm install --prefix assets
If you have previously set up the DB and run into issues, you may have to drop the DB and run mix ecto.setup to recreate it.
- Run the app:
mix phx.server(then go to http://localhost:4000) - Run the tests:
mix test