mirror of
https://github.com/fergalmoran/dss.docker.git
synced 2025-12-22 09:18:29 +00:00
7 lines
359 B
Bash
7 lines
359 B
Bash
#!/bin/bash
|
|
|
|
sudo -u postgres psql -h 127.0.0.1 -c "CREATE DATABASE deepsouthsounds"
|
|
sudo -u postgres psql -h 127.0.0.1 -c "CREATE USER deepsouthsounds WITH PASSWORD 'deepsouthsounds'"
|
|
sudo -u postgres psql -h 127.0.0.1 -c "CREATE DATABASE deepsouthsounds OWNER deepsouthsounds"
|
|
sudo -u postgres psql -h 127.0.0.1 deepsouthsounds < /tmp/20151025-203518.sql
|