Skip to content

Commit

Permalink
[#517] Add readonly user added for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 26, 2013
1 parent 57b6e3f commit 7215631
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/test.rst
Expand Up @@ -63,6 +63,11 @@ default. You should create the test databases as follows.::

sudo -u postgres createdb -O ckanuser ckan_test -E utf-8
sudo -u postgres createdb -O ckanuser ckan_test_datastore -E utf-8
# create datastore user default password `pass`
sudo -u postgres createuser -S -D -R -P -l readonlyuser
# set the permissions for readonly user
paster datastore set-permissions postgres -c test-core.ini


This database connection is specified in the ``test-core.ini`` file by the
``sqlalchemy.url`` parameter.
Expand Down

0 comments on commit 7215631

Please sign in to comment.