Local Development
- Clone the Repository:
git clone https://github.com/lhotakj/kinetiqo.git cd kinetiqo - Initialize Virtual Environment:
python -m venv .venv source .venv/bin/activate # On Windows, use `venv\Scripts\activate` pip install -r requirements.txt -
Configure Environment Variables: Create a
.envfile in the project root to define your configuration. This file is excluded from version control.Example
.envfile:STRAVA_CLIENT_ID=12345 STRAVA_CLIENT_SECRET=your_secret_here STRAVA_REFRESH_TOKEN=your_refresh_token_here DATABASE_TYPE=postgresql POSTGRESQL_HOST=localhost POSTGRESQL_USER=postgres POSTGRESQL_PASSWORD=password
If you wish more advanced handling of environment setup and safe secret persistence in GitHub, check the Direnv setup.