Name: mbta-bustracker
Owner: Code for Boston
Description: Tracks all MBTA buses and subway trains
Created: 2018-04-26 03:23:21.0
Updated: 2018-04-26 03:23:23.0
Pushed: 2018-03-09 03:30:13.0
Size: 13668
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
We use Conda to manage our Python libraries. Install conda
Note that if you choose to install Anaconda (the full version), you probably only need to install GTSF Realtime. But if you choose to install Miniconda, which is way smaller, you'll need to install dependencies later one by one.
install protobuf
install --upgrade gtfs-realtime-bindings
If it's throwing errors about setuptools, do this:
a install -c https://conda.anaconda.org/anaconda setuptools
If it's still not working, try install GTFS using
_install --upgrade gtfs-realtime-bindings
Using the pyScss and Flask Assets to compile the SCSS files.
install flask-assets
install pyScss
a install lxml
Sign up for an account on the MBTA realtime Developer Portal and create a new application. It may take a day or two to get approval. Once you get it, create a file called ignore/mbta_api_key.txt
and paste your API key there.
t clone "https://github.com/robsideshow/mbta-bustracker.git"
your-path-to/mbta-bustracker
thon flaskbus.py
Open the app at localhost:5000/