Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

nholden/monday-miles

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Analyzes Strava data to help athletes celebrate Monday finishes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published