GitXplorerGitXplorer
b

transit

public
22 stars
5 forks
0 issues

Commits

List of commits on branch master.
Verified
53f0dd886a3baf44bd2dca215a4cd9ecbbbde638

relicense from MIT to BSD-2-Clause

bbdon committed 5 years ago
Unverified
3d09edaf908e72b41811797b0c14319b1f32a203

fix ansible playbook

bbdon committed 10 years ago
Unverified
bbcff97563340fee3781c7120eb29daa1aa5d067

agency tags changed from IB/OB to I_ and O_

bbdon committed 10 years ago
Unverified
0d64ab8d7aff1254c974297dda6db4c91fe5c467

respawn

bbdon committed 10 years ago
Unverified
7e3d044ed7fb448920901dfda942df6e2da67c1a

scope creep

bbdon committed 10 years ago
Unverified
5a75dd5006faa4633714227d8537a1a10d42da5e

set start conditions in upstart conf

bbdon committed 11 years ago

README

The README file for this repository.

bdon.org/transit

Prerequisites

  • a Go distribution for Linux or Mac
  • the gox cross-compiler: go get gox
  • Ansible 1.6: brew install ansible or via the PPA
  • An Ubuntu server with at least 512 MB of memory and 20GB disk

How to use

go build . will create the transit binary.

./transit --emitFiles: will emit schedules, stops, and route JSON files into the static/ directory.

./transit : will poll NextBus, write history to static/history, and serve location requests on port 8080.

Run the tests

API tests: go test .

Client tests: open www/test/index.html in your browser.