The aim of this project was to analyse two years worth of historical data from Dublin Bus and develop, through python, models that would allow a user to get fast and accurate predictions for journey times. This was presented to the user through a web application created through Django.
cd {project-name}
Make a fresh python 3.7 virtual environment, & activate it:
virtualenv env -p python3.7
. env/bin/activate
Use the package manager pip to install required packages:
pip install -r requirements.txt
export DB_PWD={password}
Connect to database using port-forwarding via ssh (Note: this step requires DB password):
ssh -N -f -L localhost:3307:localhost:3306 student@ipa-006.ucd.ie
To run the app:
cd app
python manage.py runserver
Navigate to localhost:8000 to view site locally