Skip to content

armgit / wger

Public Imported from GitHub
0

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.rst
index d0afc7278..b6b4edb6b 100644
--- a/docs/production.rst
+++ b/docs/production.rst
@@ -73,7 +73,7 @@ PostgreSQL
Install 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 - postgres
createdb wger
psql wger -c "CREATE USER wger WITH PASSWORD 'wger'";
psql wger -c "GRANT ALL PRIVILEGES ON DATABASE wger to wger";