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.
|
4 years ago | |
---|---|---|
virtual_metro | 4 years ago | |
.gitignore | 4 years ago | |
COPYING | 4 years ago | |
README.md | 4 years ago | |
requirements.txt | 4 years ago | |
virtual-metro.service | 4 years ago |
README.md
Virtual Metro
Online simulation of Melbourne Metro Trains (Public Transport Victoria) platform information display systems.
Usage
Apply for a PTV Timetable API API key, and copy virtual_metro/config.example.py to virtual_metro/config.py 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