feat: implement StaySense MVP backend, frontend, imports, and deployment docs

This commit is contained in:
Oliver 2026-02-15 13:08:56 +01:00
commit 902988276c
No known key found for this signature in database
24 changed files with 2536 additions and 0 deletions

41
docs/OPERATIONS.md Normal file
View file

@ -0,0 +1,41 @@
# Operations Runbook
## Wichtige Befehle
API neu starten:
```bash
sudo systemctl restart staysense-api.service
```
Import manuell ausfuehren:
```bash
sudo systemctl start staysense-import.service
```
Service-Logs:
```bash
sudo journalctl -u staysense-api.service -f
sudo journalctl -u staysense-import.service -f
```
Health check:
```bash
curl -s http://127.0.0.1:8787/health
```
## Backup
```bash
cp /opt/staysense/data/staysense.db /opt/staysense/data/staysense.db.bak
```
## Restore
```bash
cp /opt/staysense/data/staysense.db.bak /opt/staysense/data/staysense.db
sudo systemctl restart staysense-api.service
```