generated from nathanwoodburn/python-webserver-template
d8ede009014a958f7a1f90e29cb37d49e19d1bc6
Python Flask Webserver Template
Python3 website template including git actions
Requirements
- UV
Development
- Install project requirements
uv sync
- Run the dev server
uv run python3 server.py
- Alternatively use the virtual environment
source .venv/bin/activate
You can exit the environment with deactivate
For best development setup, you should install the git hook for pre-commit
uv run pre-commit install
Production
Run using the main.py file
python3 main.py
Languages
Python
76.3%
HTML
15.9%
CSS
6.7%
Dockerfile
1.1%