Add expanded GitHub wiki content and publish guide
This commit is contained in:
parent
c0ea660e48
commit
42f3baecb6
8 changed files with 302 additions and 0 deletions
31
docs/wiki/Deployment.md
Normal file
31
docs/wiki/Deployment.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Deployment
|
||||
|
||||
Zielplattform aktuell: Hetzner + CloudPanel + Nginx + systemd.
|
||||
|
||||
## Komponenten
|
||||
|
||||
- App-Code: `/opt/staysense`
|
||||
- API-Service: `staysense-api.service`
|
||||
- Import-Timer: `staysense-import.timer`
|
||||
- Frontend-Root: `/home/staysense-site/htdocs/staysense.vanityontour.de/`
|
||||
|
||||
## Rollout (vereinfacht)
|
||||
|
||||
```bash
|
||||
cd /opt/staysense
|
||||
git pull --ff-only
|
||||
rsync -a --delete /opt/staysense/src/ /home/staysense-site/htdocs/staysense.vanityontour.de/
|
||||
systemctl restart staysense-api.service
|
||||
nginx -t && systemctl reload nginx
|
||||
```
|
||||
|
||||
## Pflichtchecks
|
||||
|
||||
```bash
|
||||
systemctl is-active staysense-api.service
|
||||
curl -s -L https://staysense.vanityontour.de/api/health
|
||||
```
|
||||
|
||||
## HTTPS
|
||||
|
||||
TLS-Zertifikate werden über CloudPanel verwaltet.
|
||||
Loading…
Add table
Add a link
Reference in a new issue