Make the MediaGoblin databse user creation more deterministic.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 29 Mar 2014 17:28:19 +0000 (12:28 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 29 Mar 2014 17:28:19 +0000 (12:28 -0500)
Thanks RuiSeabra for the suggestion!

This commit sponsored by Chad Glendenin.  Thanks, Chad!

docs/source/siteadmin/deploying.rst

index 1cf633b39bc13bd1204ab509e7f22c83323a0e90..34033adcf1c835d7953f033c45aa7701e1cbb1db 100644 (file)
@@ -91,13 +91,7 @@ name will be ``mediagoblin`` too.
 
 To create our new user, run::
 
-    sudo -u postgres createuser mediagoblin
-
-then answer NO to *all* the questions::
-
-    Shall the new role be a superuser? (y/n) n
-    Shall the new role be allowed to create databases? (y/n) n
-    Shall the new role be allowed to create more new roles? (y/n) n
+    sudo -u postgres createuser -A -D mediagoblin
 
 then create the database all our MediaGoblin data should be stored in::