docs: add rough documentation about obs-portal #173

Merged
hensoko merged 2 commits from feat/obs-portal-nachtigall into main 2024-04-28 12:13:10 +00:00
Showing only changes of commit 75c7e2dcf5 - Show all commits

25
docs/obs-portal.md Normal file
View file

@ -0,0 +1,25 @@
# OpenBikeSensor Portal
## Docker Containers
* portal
* worker
* db
## Run database migrations
```
docker exec -ti obs-portal tools/upgrade.py
```
## Dump database
```
docker exec -ti --user postgres obs-portal-db pg_dump obs
```
## Restore database
```
cat dump.sql | docker exec -ti --user postgres obs-portal-db psql obs
```