Warning
This project has been archived and is no longer being maintained or updated. Read more about it here.
This repository contains the code that continuously analyzed the performance of the University of Chicago shuttle system. Read more about it at uchicagoshuttles.com.
In the same repository as run.py, create a secret.py in the following format:
DB_HOST = ""
DB_NAME = ""
DB_USER = ""
DB_PASS = ""This program runs in a Linux-based Google Gloud VM. Below are the steps for how to initially configure it as well as to start it.
- Create and enter a Python virtual environment
- Install the package:
pip install git+https://github.com/athuler/UChicago-Shuttle-Tracking@main - Upload
run.pyandsecret.pyto the VM - Create
run.shcontaining the following:
source venv/bin/activate
python3 run.py- Exit the virtual environment
Note: run this outside of any virtual environments
screen
source run.shscreen -d -r