Parcourir la source

Encapsulate the SQL command in a unix command

DricomDragon il y a 5 ans
Parent
commit
f9cfc98ccb
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -41,7 +41,9 @@ Start service :
 
 #### Create python user
 
-`CREATE USER python_app WITH NOCREATEDB NOCREATEROLE NOSUPERUSER PASSWORD 'blablapoivron';`
+Create owner of the _logistics_ database.
+
+`sudo -u postgres psql -c "CREATE USER python_app WITH NOCREATEDB NOCREATEROLE NOSUPERUSER PASSWORD 'blablapoivron';"`
 
 #### Create the database