This commit is contained in:
Jamil Bou Kheir
2021-06-30 16:00:31 -07:00
parent 4675a89b86
commit a37c5daea9

View File

@@ -10,7 +10,8 @@ echo "Initializing default config..."
curl https://raw.githubusercontent.com/CloudFire-LLC/cloudfire/${GITHUB_SHA}/scripts/init_config.sh | bash -
# Create DB
export POSTGRES_PASSWD=postgres
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=postgres
sudo -E -i -u postgres psql -w -c -h localhost "CREATE DATABASE cloudfire;"
# Start by running migrations always