Files
python-webserver-template/README.md
Nathan Woodburn 11efb6f09c
All checks were successful
Build Docker / BuildImage (push) Successful in 35s
Check Code Quality / RuffCheck (push) Successful in 44s
feat: Update readme
2025-11-20 17:48:36 +11:00

34 lines
546 B
Markdown

# Python Flask Webserver Template
Python3 website template including git actions
## Requirements
- UV
## Development
1. Install project requirements
```bash
uv sync
```
2. Run the dev server
```bash
uv run python3 server.py
```
3. Alternatively use the virtual environment
```bash
source .venv/bin/activate
```
You can exit the environment with `deactivate`
For best development setup, you should install the git hook for pre-commit
```bash
uv run pre-commit install
```
## Production
Run using the main.py file
```bash
python3 main.py
```