Local Development

  1. Clone the Repository:
    git clone https://github.com/lhotakj/kinetiqo.git
    cd kinetiqo
    
  2. Initialize Virtual Environment:
    python -m venv .venv
    source .venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    pip install -r requirements.txt
    
  3. Configure Environment Variables: Create a .env file in the project root to define your configuration. This file is excluded from version control.

    Example .env file:

    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.