#!/bin/bash
# Get the directory where the script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Change to the script directory
cd "$SCRIPT_DIR"
# Activate the virtual environment
source "$SCRIPT_DIR/venv/bin/activate"
echo "Activated virtual environment" >&2
# Run the Strava server
python src/strava_http_server.py