Sign inSign up

passy/disruption-tracker

By passy

•Updated almost 10 years ago

Packed haskell binary.

Image
0

2.2K

passy/disruption-tracker repository overview

⁠disruption-tracker

Build Status

Collecting Tube disruption data. Maybe more later.

⁠Status

If anything works then only by accident. This is, as with most of my project, just an exploration. But having code in the open so you can point people at it and ask questions is often quite useful.

⁠Setup

Run RethinkDB. I recommend Docker for that kinda thing. Remember to write down the ports.

$ docker run -P --name rethink1 rethinkdb:2.3
$ docker ps

Build this thing.

$ stack build

Initialize some tables, keys and indices.

$ stack exec disruption-tracker -- --hostname 192.168.99.100 --port 32769 setup

If this fails, please manually drop the db for now so we can recreate it:

r.dbDrop('test');
r.dbCreate('test');

Set up the RethinkDB before?

$ docker start rethink1

⁠Deployment

See https://github.com/passy/disruption-bot-deployment⁠.

⁠Collecting

Now you can start manually collecting. Automatic polling is coming soon.

$ stack exec disruption-tracker -- --hostname 192.168.99.100 --port 32769 collect

Tag summary

Content type

Image

Digest

Size

466 MB

Last updated

almost 10 years ago

docker pull passy/disruption-tracker:v0.2.1.0