Skip to content

Django based Dublin Bus time prediction app. Trained on 2018 Bus data from Dublin buses. Unfortunately, we had to shut down the site as UCD stopped providing us with a VM :(

Notifications You must be signed in to change notification settings

sachsom95/Dublin_bus_official

Repository files navigation

forthebadge made-with-python

Dublin Bus Project

NOTE : FOR ALL THINGS TECH LOOK AT OUR Wiki!!
Test coverage : 95%

This is Dublin Buses a webapp Every Dubliners crave for.

Get the best bus journey predictions modeled on 2018 Dublin bus dataset.

Have leap card and dont know the balance?

Link leap card to the app and check your balance and bus all in same place bonus: cool avatar included :)

wanna share bus route from "Dún Laoghaire" to "clonskeagh" to your just arrived foreign friend who doesn't know how to type Irish places.

Use the share my trip feature and send the link to them with everything pre-written yaaay!.

Keep you favourite locations saved.

No need to search guineess store house all the time.

Popular tourist destinations all in single click of button.

Thats right no need to search for Guninness store house.

Get the latest Covid data and decide if you want to use the bus.

Hope this feature doesn't last long.

Are you an Admin? no worries fam We made a page for you.

Remove accounts with an iron fist!!!!.

Android webview app.

No need to access the app via browser use the APK

Get latest tweets from dublin bus and covid updates right from the app.

APP architecture

Architecture

How to run app locally

Here are the steps to properly run the application:
• Create conda environment
• conda create --name bus_app python=3.7
• conda activate bus_app
• Go inside the folder that was downloaded where there should be a requiments.txt
• pip install -r requirments.txt
• go inside Dublin_bus_official-3.0/django_server/dublin_bus/bus on your terminal
• run the three scraper scripts Currentweather_update.py, Forecastweather_update.py,
Covid_update.py in Dublin_bus_official-3.0/django_server/dublin_bus/bus using python 'filename'
• (because we automaticly and timely run these three scrapers on the server with cronjob of linux server. you have to run these there python file to get the latest data into data base)
• Do the command “cd ..” to go back into the previous directory dublin_bus/ where manage.py lies
• Run “python manage.py runserver”
• Remember you need to get your own google maps api with, placesAPI, distance matrix enabled

About

Django based Dublin Bus time prediction app. Trained on 2018 Bus data from Dublin buses. Unfortunately, we had to shut down the site as UCD stopped providing us with a VM :(

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •