Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbta/prediction_analyzer
A tool to download and analyze our predictions and the actual vehicle arrival times we receive.
https://github.com/mbta/prediction_analyzer
Last synced: about 1 month ago
JSON representation
A tool to download and analyze our predictions and the actual vehicle arrival times we receive.
- Host: GitHub
- URL: https://github.com/mbta/prediction_analyzer
- Owner: mbta
- License: mit
- Created: 2018-10-16T17:52:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T14:08:39.000Z (7 months ago)
- Last Synced: 2024-11-08T17:56:43.075Z (about 2 months ago)
- Language: Elixir
- Size: 968 KB
- Stars: 6
- Watchers: 24
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PredictionAnalyzer
An app for aggregating and analyzing the accuracy of GTFS predictions using
TripUpdates and VehiclePositions over time.## Prerequisites
* PostgreSQL 10+
* [`asdf`](https://asdf-vm.com/#/core-manage-asdf)
* [`direnv`](https://github.com/direnv/direnv/blob/master/docs/installation.md)
_(recommended)_PostgreSQL and Direnv are available on macOS Homebrew.
## Setup
1. `asdf install`
2. `cp .envrc.template .envrc`
* You may have to adjust `DATABASE_ROOT_URL` in this file to reflect your
Postgres install, e.g. changing `postgres@` to `your_username@`
3. `direnv allow`
4. `mix deps.get`
5. `mix ecto.setup`
6. `npm install --prefix assets`## Common Tasks
* Run the app: `mix phx.server` (then go to )
* Run the tests: `mix test`