Skip to content

Every bus stop, route and timetable, using (Geo)Django and things

License

Notifications You must be signed in to change notification settings

rploeg/bustimes.org

 
 

Repository files navigation

Bus Times

Build Status Coverage Status

What's this?

It's a thing about buses.

Installing

Python 3.6 or newer is required. Use Pipenv to install the Python dependencies (Django, etc):

pipenv --python 3.6
pipenv install --dev

There are also some JavaScript dependencies:

npm install

Importing data

Static data (stops, timetables, etc)

import.sh will download data from various sources and run the necessary Django management commands to import it. When run repeatedly, it will only download and import the stuff that's changed. It expects to be run from the data directory. It needs a username and password for the Traveline National Dataset step.

Live data

Some "live" data – departure times at stops, and vehicle locations – is/are fetched as and when a user accesses a page.

For the rest, there are some Django management commands that need to be run indefinitely in the background. These update the big map of bus locations, etc.

About

Every bus stop, route and timetable, using (Geo)Django and things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.9%
  • HTML 7.1%
  • JavaScript 3.9%
  • CSS 2.2%
  • Other 0.9%