Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 814 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 814 Bytes

MBTA Departure Board

How to run

Local Python

Install Python 3 and pip, then clone this repo, change directory into your cloned working copy, and run:

python -m pip install -r requirements.txt
python -m flask run

Docker (preferred)

Using your MBTA API key as an environment variable, execute:

docker run ghcr.io/sabrsorensen/mbta_departure_board -e MBTA_API_KEY=$MBTA_API_KEY -p 5000:5000

Then visit http://localhost:5000 to view upcoming departures from the MBTA's North Station in Boston, Massachusetts.

References