Explorar el Código

Encapsulate the SQL command in a unix command

DricomDragon hace 5 años
padre
commit
f9cfc98ccb
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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