Files
turmlibar-calendar/run.sh
2025-10-30 13:33:08 +01:00

14 lines
352 B
Bash
Executable File

#!/bin/bash
# Activate the virtual environment if it exists
if [ -d ".venv" ]; then
source .venv/bin/activate
fi
# Run the FastAPI server with uvicorn
echo "Starting Calendar Server..."
echo "Access the calendar at: http://localhost:8000"
echo "Press Ctrl+C to stop the server"
echo ""
uv run uvicorn main:app --host 0.0.0.0 --port 8000 --reload