Skip to content

Collector for CitiBike station data. It collects availability of bikes and stations on a highly redundant schedule.

License

Notifications You must be signed in to change notification settings

rolltime/rolltime-collect

Repository files navigation

Rolltime Collect

Collector for CitiBike's public data. It runs on a highly redundant schedule (4 x per minute) on multiple nodes. Stores data to the same database (postgres) to make sure no data-point goes missing.

Build Status

Setup and Run

To build, test, and run the application locally, run:

$ make setup
$ make test
$ make run

Docker Setup

This collector is designed to run on a Docker container. Please refer to the Dockerfile for the inner-workings of the application. The container must be run with no local volumes, but with a link to a PosgreSQL container.

$ docker run \
  -d
  --name collector \
  --link node_watch:node_watch \
  --link postgres:postgres \
  -e NODE_ID=collector-newyork-01 \
  rolltime/rolltime-collect:latest

About

Collector for CitiBike station data. It collects availability of bikes and stations on a highly redundant schedule.

Resources

License

Stars

Watchers

Forks

Packages

No packages published