Skip to content

athuler/UChicago-Shuttle-Tracking

Repository files navigation

Warning

This project has been archived and is no longer being maintained or updated. Read more about it here.

UChicago Shuttle Tracking

This repository contains the code that continuously analyzed the performance of the University of Chicago shuttle system. Read more about it at uchicagoshuttles.com.

Secrets

In the same repository as run.py, create a secret.py in the following format:

DB_HOST = ""
DB_NAME = ""
DB_USER = ""
DB_PASS = ""

Virtual Machine Management

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.

Initial Setup

  1. Create and enter a Python virtual environment
  2. Install the package: pip install git+https://github.com/athuler/UChicago-Shuttle-Tracking@main
  3. Upload run.py and secret.py to the VM
  4. Create run.sh containing the following:
source venv/bin/activate
python3 run.py
  1. Exit the virtual environment

Starting up the VM:

Note: run this outside of any virtual environments

screen
source run.sh

Reconnect to the VM:

screen -d -r

About

Tracking the Performance of UChicago's Shuttle Network

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •  

Languages