Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
/ allb.us Public archive

Just a tiny bus app that's finally being open sourced. Come check us out @ http://allb.us

Notifications You must be signed in to change notification settings

CodeWithAloha/allb.us

Repository files navigation

Allb.us

Build Status

A tiny bus app that's finally being open sourced. Come check us out @ http://allb.us

Note: We're currently allbus'. (Here be dragons, local style)

Installation

You'll need to make sure Python (2.7.X) and Ansible 2.0+ is installed on your machine to run the Vagrant provisioner.

  • pip install ansible==2.0.2.0

Vagrant

API KEY

You need to register for an API KEY.

Without it, nothing will work. :)

Initial load of GTFS data

  • ALLBUS_DIR=<path_to_allbus_location> THEBUS_API_CLIENT_TOKEN=<api_key_from_previous_step> vagrant up
  • vagrant ssh
  • sudo -u allbus /bin/bash
  • `source /var/www/applications/allbus_production/venvs/current/bin/activate && pip install django==1.9.12
  • export DJANGO_SETTINGS_MODULE=config.settings
  • export DJANGO_CONFIGURATION=Vagrant
  • cd /var/www/applications/allbus_production/app/current/etc/
  • ./download_and_install_gtfs_data.sh
  • pip install django==1.10.4

Viewing GTFS data

Loading Vue app (only to test out)

*On your local machine (not in vagrant) - at some point, will move to Vagrant

TODO

Here are things that still need to be done:

  • Need to hook in a modern front end
  • Need to internationalize it
  • Need to hook in a websocket implementation to bring in gtfs real-time feed

License

BSD