Remaking the original Shuttle Tracker using Go, Polymer Web Components, and MongoDB.
- Clone this repository using
git clone https://github.com/wtg/shuttle_tracking_2
- Run
bower install
to install dependencies listed in bower.json - Rename conf.json.sample to conf.json
- Edit conf.json with the following:
- Data Feed: API with tracking information (iTrak in our case)
- UpdateInterval: Number of seconds between each request to the data feed
- MongoUrl: Url where MongoDB is located
- MongoPort: Port where MongoDB is bound (default is 27017)
- Run the app using
go run main.go
in the project root directory - Visit http://localhost:8080/ to view the tracking application and http://localhost:8080/admin to view the admin panel