Self hosted FLOSS fitness/workout, nutrition and weight tracker
Make clear to use sudo to change to the postgres user
Roland Geidere0809826cb58
diff --git a/docs/production.rst b/docs/production.rstindex d0afc7278..b6b4edb6b 100644--- a/docs/production.rst+++ b/docs/production.rst@@ -73,7 +73,7 @@ PostgreSQLInstall the Postgres server and create a database and a user::sudo apt-get install postgresql postgresql-server-dev-12 # or appropriate version- su - postgres+ sudo su - postgrescreatedb wgerpsql wger -c "CREATE USER wger WITH PASSWORD 'wger'";psql wger -c "GRANT ALL PRIVILEGES ON DATABASE wger to wger";