db init script
This commit is contained in:
parent
9fe0caeab5
commit
24b4e789be
7
ops/init_db.sh
Executable file
7
ops/init_db.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo apt-get install -y postgresql postgresql-contrib
|
||||||
|
sudo service postgresql start
|
||||||
|
sudo -u postgres createdb cryps
|
||||||
|
sudo -u echo "craftbeer" > .pgpass
|
||||||
|
sudo -u postgres createuser --encrypted cryps
|
||||||
Loading…
x
Reference in New Issue
Block a user