Add datastore_default user due to PR #2234 from ckan

This commit is contained in:
Stefan Oderbolz 2015-11-11 19:59:25 +01:00
parent 644fa49dd4
commit 73aecb7f12
1 changed files with 2 additions and 0 deletions

View File

@ -33,7 +33,9 @@ sudo service jetty restart
echo "Creating the PostgreSQL user and database..."
sudo -u postgres psql -c "CREATE USER ckan_default WITH PASSWORD 'pass';"
sudo -u postgres psql -c "CREATE USER datastore_default WITH PASSWORD 'pass';"
sudo -u postgres psql -c 'CREATE DATABASE ckan_test WITH OWNER ckan_default;'
sudo -u postgres psql -c 'CREATE DATABASE datastore_test WITH OWNER ckan_default;'
echo "Initialising the database..."
cd ckan