Skip to content

Web application for deeper analysis into fitness data. Integrates with Strava

License

Notifications You must be signed in to change notification settings

zpreator/moovmetrics

Repository files navigation

MoovMetrics

Strava companion app to explore deeper analysis including:

  • Heatmap of activities
  • Personal bests
  • Trends
  • more to come

moovmetrics

Development Installation

Clone this repository

git clone https://github.com/zpreator/stravapp.git

Enter the folder

cd stravapp

Create and activate virtual environment (I usually use PyCharm to do this step)

python -m venv venv

Check your system 1 or 2

1 Windows

venv\scripts\activate

2 Linux/Mac

source venv/bin/activate

Get requirements

python -m pip install --upgrade pip
pip install -r requirements.txt

Set up Client ID and Client Secret with Strava

  1. If you have not already, go to https://www.strava.com/register and sign up for a Strava account.
  2. After you are logged in, go to https://www.strava.com/settings/api and create an app.
    1. Use www.example.com or anything else for the website and authorization callback domain
  3. When the app is created, take note of the Client ID and Client Secret
  4. Rename the file settings-template to settings.env
    1. Replace the <> sections in the file
    STRAVA_CLIENT_ID = <client_id>
    STRAVA_CLIENT_SECRET = "<client_secret>"
    

Run

python server.py

About

Web application for deeper analysis into fitness data. Integrates with Strava

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published