Skip to content

Commit

Permalink
Consistent python/ paster commands
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 2, 2012
1 parent 194eb63 commit 957d3df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ckanext/datastore/commands.py
Expand Up @@ -43,11 +43,11 @@ class SetupDatastoreCommand(cli.CkanCommand):
Usage::
paster datastore create-db <sql-super-user>
paster datastore create-read-only-user <sql-super-user>
paster datastore create-db SQL_SUPER_USER
paster datastore create-read-only-user SQL_SUPER_USER
Where:
<sql-super-user> is the name of a postgres user with sufficient
SQL_SUPER_USER is the name of a postgres user with sufficient
permissions to create new tables, users, and grant
and revoke new permissions. Typically, this would
be the "postgres" user.
Expand Down
4 changes: 2 additions & 2 deletions doc/datastore.rst
Expand Up @@ -32,8 +32,8 @@ A few things have to be kept in mind

To create a new database and a read-only user, use the provided paster commands after you have set the right database URLs.::

paster --plugin=ckan datastore create-db <sql-user-user>
paster --plugin=ckan datastore create-read-only-user <sql-user-user>
paster --plugin=ckan datastore create-db SQL_SUPER_USER
paster --plugin=ckan datastore create-read-only-user SQL_SUPER_USER

To test the setup you can create a new datastore, so on linux command line do::

Expand Down

0 comments on commit 957d3df

Please sign in to comment.