From 99f74b12d01425e0172eddf7509231ad50c90cef Mon Sep 17 00:00:00 2001 From: Dennis Priskorn Date: Wed, 28 Aug 2024 09:42:35 +0200 Subject: [PATCH] doc: README: Add more information about postgres setup --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e54b665..5759774 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,14 @@ ## Setup * clone the project * install geoip and postgres from your local package manager -* setup av venv +* setup postgres on your machine, see e.g. https://wiki.archlinux.org/title/PostgreSQL + * `$ sudo su postgres` + * `$ initdb -D /var/lib/postgres/data` +* start postgres +* create postgres user + * `$ sudo su postgres` + * `$ createuser --interactive` -> owl +* setup a venv * enter the venv * run 'pip install -r requirements.txt' * cp config/examply.py config/default.py