Mercurial > hg > soundsoftware-site
annotate extra/soundsoftware/scripted-deploy/vagrant/provision.d/050-webapp-db.sh @ 1581:ae8043b014c7 dockerise
Updates, fixes, and tidying to scripted deployment stuff
author | Chris Cannam |
---|---|
date | Tue, 15 Aug 2017 13:33:56 +0100 |
parents | extra/soundsoftware/vagranttest/provision.d/050-webapp-db.sh@e38eee2e1d47 |
children |
rev | line source |
---|---|
Chris@1577 | 1 #!/bin/bash |
Chris@1577 | 2 |
Chris@1577 | 3 set -e |
Chris@1577 | 4 |
Chris@1577 | 5 if [ ! -f /var/www/code/config/database.yml ]; then |
Chris@1581 | 6 cp /var/www/code/extra/soundsoftware/scripted-deploy/config/database.yml.interpolated \ |
Chris@1577 | 7 /var/www/code/config/database.yml |
Chris@1577 | 8 fi |
Chris@1577 | 9 |