This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Development
|
||||
|
||||
## Voraussetzungen
|
||||
|
||||
- Python 3.12+
|
||||
- Node.js 20+
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install -r requirements.txt djlint pytest pre-commit
|
||||
npm ci
|
||||
pre-commit install
|
||||
```
|
||||
|
||||
## Wichtige ENV-Variablen
|
||||
|
||||
- `SESSION_SECRET`: starkes Secret für Sessions
|
||||
- `DATA_ENCRYPTION_KEY`: separates Secret für verschlüsselte Betriebsgeheimnisse
|
||||
- `BOOTSTRAP_ADMIN_EMAIL`: optionaler Initial-Admin
|
||||
- `FORWARDED_ALLOW_IPS`: vertrauenswürdige Proxy-Adressen
|
||||
|
||||
Beispielwerte stehen in `.env.example`.
|
||||
|
||||
## Befehle
|
||||
|
||||
```bash
|
||||
make policy
|
||||
make lint
|
||||
make test
|
||||
make ci
|
||||
```
|
||||
Reference in New Issue
Block a user