fix install script

This commit is contained in:
Simon Larsen 2023-07-19 12:34:59 +01:00
parent a7b6f70ed4
commit 8a73a7c7ab
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
2 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
set -a
# Talk to the user
echo "Welcome to the OneUptime 🟢 Runner"

View File

@ -11,17 +11,15 @@ else
git pull
fi
set -e
set -a
bash configure.sh
# Load env values from config.env
export $(grep -v '^#' config.env | xargs)
sudo docker compose pull
export $(grep -v '^#' config.env | xargs) && docker compose pull
# Start all containers.
npm run start
npm start
echo "We will need to wait ~5-10 minutes for things to settle down, migrations to finish, and TLS certs to be issued"
echo ""