Skip to content

Web application for recording and analyzing trainings.

Notifications You must be signed in to change notification settings

smanttari/training-diary-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Training Diary App

Web application for tracking and analyzing trainings.

Features

Keep track of your trainings

Input your trainings or load them through Polar API:

trainings

Analyze your trainings

Analyze your trainings with various graphical reports:

report_amount

report_sport

View routes on map

View training routes on map:

map

Follow your recovery

Load sleep data from Polar or Oura and analyze it with recovery dashboard:

recovery

Personalize settings

Customize sports, training zones and seasons:

settings

Setting up the development environment

  • Install Python >= 3.10

  • Clone repository

  • Install required python libraries

pip install -r requirements.txt
  • Run database migrations
python .\treenit\manage.py migrate
  • Import static data
python .\treenit\manage.py loaddata treenit\treenipaivakirja\fixtures\aika.json
  • Set following environment variables
DEBUG = True
SECRET_KEY = your_secret_key
  • If you wish to interact with Polar and Oura APIs set also following environment variables
ACCESSLINK_CLIENT_KEY
ACCESSLINK_CLIENT_SECRET
OURA_CLIENT_KEY
OURA_CLIENT_SECRET
  • Start app by running following command
python .\treenit\manage.py runserver
  • Open web-browser (preferred Chrome) and go to
http://127.0.0.1:8000/treenipaivakirja/

About

Web application for recording and analyzing trainings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published