Skip to content
Snippets Groups Projects
Commit 0a3ed38f authored by alekoe's avatar alekoe Committed by GitHub
Browse files

Delete init-dspace-dbs.sh

parent 20af369f
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL
CREATE USER dspace WITH PASSWORD 'dspace1234';
CREATE DATABASE "XXX-LR-DATABASE" OWNER dspace ENCODING "UTF-8" TEMPLATE template0;
CREATE DATABASE "XXX-UTILS-DATABASE" OWNER dspace ENCODING "UTF-8" TEMPLATE template0;
EOSQL
psql --username "$POSTGRES_USER" --set=utildir="/tmp/sql/" -p 5432 XXX-UTILS-DATABASE < /tmp/sql/utilities.sql
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment