mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
fix install script
This commit is contained in:
parent
a7b6f70ed4
commit
8a73a7c7ab
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -a
|
||||
|
||||
# Talk to the user
|
||||
echo "Welcome to the OneUptime 🟢 Runner"
|
||||
|
@ -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 ""
|
||||
|
Loading…
Reference in New Issue
Block a user