GitXplorerGitXplorer
b

transit

public
22 stars
5 forks
0 issues

Commits

List of commits on branch master.
Unverified
b162756317e360ad2600ad91937b7c86c081a97a

CORS header for history endpoint

bbdon committed 11 years ago
Unverified
f65015c4baa0d5993689103ce94ddbfe182544ee

Expose how far back history goes

bbdon committed 11 years ago
Unverified
3f39bee8b1033c303fa27ef734d3fef443865ef5

Fix test for deleting old runs

bbdon committed 11 years ago
Unverified
fe8acbbdecf72335b4dcc45b845556236d86bce0

improve mouse hover

bbdon committed 11 years ago
Unverified
9dcb0c3a4310f878e3dd803f0e2641e502960063

truncate long names

bbdon committed 11 years ago
Unverified
d820f645efe20283f59f99bd232a86102f1f0324

fix percent

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.