You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RunasSudo 959fcd1cf6
Oops, include the file I said I included
4 years ago
virtual_metro Slightly reduce destination size in style 2 4 years ago
.gitignore Initial commit 4 years ago
COPYING Add licence 4 years ago Add some basic documentation 4 years ago
requirements.txt Oops, include the file I said I included 4 years ago
virtual-metro.service Optimise for --preload in production 4 years ago

Virtual Metro

Online simulation of Melbourne Metro Trains (Public Transport Victoria) platform information display systems.

Example image


Apply for a PTV Timetable API API key, and copy virtual_metro/ to virtual_metro/ and set PTV_USER_ID and PTV_USER_ID accordingly.

Create a Python virtual environment if necessary and install the required dependencies:

virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt

Run the app as per the Flask documentation:

. venv/bin/activate
export FLASK_APP=virtual_metro
flask run