Update cloud9_install.sh

This commit is contained in:
Max Choi-Deyoung 2018-07-16 18:18:42 -04:00 committed by GitHub
parent 90f07e0e21
commit 6a697de91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo "[C9Setup] Installing PostGreSQL, redis, and creating titan db table" echo "[C9Setup] Installing postgresql, redis, and creating titan db table"
cd ~/workspace/ cd ~/workspace/
sudo service postgresql start sudo service postgresql start
psql -c "CREATE DATABASE titan WITH ENCODING 'UTF8' TEMPLATE template0" psql -c "CREATE DATABASE titan WITH ENCODING 'UTF8' TEMPLATE template0"