fix install script.

This commit is contained in:
Simon Larsen 2022-12-29 13:45:35 +00:00
parent e26984d046
commit 3a6fd21250
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -9,6 +9,10 @@ git pull
docker compose pull
# Create database if it does not exists
sudo docker compose up -d postgres && sleep 30 && sudo docker compose exec postgres `psql postgresql://$DATABASE_USERNAME:$DATABASE_PASSWORD@localhost:5400/postgres -c 'CREATE DATABASE oneuptimedb'` || echo "Database created"
# echo "Checking if async migrations are up to date"
# sudo -E docker compose run init