Skip to content
/ segmund Public

A crummy app that aggregates segment data from Strava to support enduro style events.

License

Notifications You must be signed in to change notification settings

jglynn/segmund

Repository files navigation

segmund

A crummy thing for aggregating segment data from Strava to support "enduro" style road cycling events.

Getting Started

You'll need two config files locally -- contact @jglynn:

  • vcap-local.json which contains Cloudant DB connecton details
  • config.json which contains some Strava settings

Install Python 3

  • I've found issues with 3.7.1 and Cloudant
  • Locally I've had luck with 3.6.5
  • IBM Cloud is running 3.8.2

Running segmund locally

  1. python -m pip install -r requirements.txt will install necessary Python deps
  2. python segmund.py will start up the app, by default it listens on port 8000 locally

Running on IBM Cloud

Commits to master automatically trigger CICD using segmund-toolchain

https://segmund.mybluemix.net/

Checking logs

Install IBM Cloud CLI

ibmcloud login --sso

IBM will issue a single use auth token you can use for a while.

ibmcloud target --cf

ibmcloud cf logs segmund-toolchain --recent

About

A crummy app that aggregates segment data from Strava to support enduro style events.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published