Analyzes Strava data to help athletes celebrate Monday finishes
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
tmp
vendor
.babelrc
.env.example
.gitignore
.postcssrc.yml
.rspec
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
netlify.toml
package.json
yarn.lock

README.md

Monday Miles

Analyzes Strava data to help athletes celebrate Monday finishes

Installation

git clone git://github.com/nholden/monday-miles
cd monday-miles
brew install redis postgresql heroku
bundle install
yarn
cp .env.example .env
bundle exec rake db:reset

Getting started

Sign up for a Strava API key at https://developers.strava.com and a Google Static Maps API key at https://developers.google.com/maps/documentation/static-maps/ and update .env.

Start these long-running processes in separate terminal windows:

heroku local
webpack-dev-server

Monday Miles should be accessible at http://localhost:3000 (or whichever port you specify in .env).

Strava Webhooks

For activities to be created, updated, and deleted as users make changes in Strava, Monday Miles must have a Strava webhooks subscription in production. Use a tool like Postman and follow the instructions in the Strava webhooks documentation to create a new subscription with the application’s Strava API credentials. Monday Miles’ webhooks callback URL is at /strava/webhook_callbacks.

Testing

bundle exec rake

Contributing

Contributions are welcome from everyone! Feel free to make a pull request or use GitHub issues for help getting started, to report bugs, or to make feature requests.

License

This project was created by Nick Holden and is licensed under the terms of the MIT license.