The BikeArlington Freezing Saddles Winter Challenge
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

ba-winter-challenge (deprecated)

This code no longer works, as Strava removed API access for most third parties. Suggestions for a new backend are welcome!

The BA-Winter-Challenge code was created to power the [Bike Arlington Freezing Saddles Winter Bike Challenge](\)). Given a list of Strava clubs, this program creates a competition scoreboard ala the National Bike Challenge rules.

The competition results were posted here.

Requirements and installation.

BA-Winter-Challenge requires a recent copy of Haskell, being most recently tested on Haskell Platform 2012.2.0.0, as well as a number of other libraries that are managed via Cabal. Once Haskell is installed, use cabal to build and install ridemap:

$ cd ba-winter-challenge
$ cabal install --user

This installs one executable, ba-winter-challenge, which takes a path to a config file (see ba-challenge.json for an example), and outputs a directory (html in this exapmple) containing the scoreboard and some cache files.

$ ba-winter-challenge path/to/config.json
$ scp -Cr html/

There is one relevant command line option: -c : Clear the cache of rides. This should only be necessary if people change the ride info for older rides.