瀏覽代碼

Encapsulate the SQL command in a unix command

DricomDragon 5 年之前
父節點
當前提交
f9cfc98ccb
共有 1 個文件被更改,包括 3 次插入1 次删除
  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