mirror of
https://github.com/fergalmoran/dss.docker.git
synced 2025-12-22 09:18:29 +00:00
Moved to images
This commit is contained in:
3
postgres/scaffold_db.sh
Executable file → Normal file
3
postgres/scaffold_db.sh
Executable file → Normal file
@@ -1,5 +1,6 @@
|
||||
#!/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 < /home/fergalm/Dropbox/dss.sql
|
||||
sudo -u postgres psql -h 127.0.0.1 deepsouthsounds < /tmp/20151025-203518.sql
|
||||
|
||||
Reference in New Issue
Block a user