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