remove apt upgrade and quotes from IP

This commit is contained in:
Bui 2022-03-21 04:33:01 +00:00 committed by GitHub
parent 41e11992c9
commit b0c35acf3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,6 @@
set -euo pipefail set -euo pipefail
sudo apt update sudo apt update
sudo apt upgrade -y
sudo apt install -y git python3-pip python3-virtualenv nginx ffmpeg redis supervisor sudo apt install -y git python3-pip python3-virtualenv nginx ffmpeg redis supervisor
if [[ -r /etc/os-release ]]; then if [[ -r /etc/os-release ]]; then
@ -57,7 +55,7 @@ sudo service supervisor restart
sudo systemctl enable mongod.service sudo systemctl enable mongod.service
sudo service mongod start sudo service mongod start
IP="$(dig +short txt ch whoami.cloudflare @1.0.0.1)" IP=$(dig +short txt ch whoami.cloudflare @1.0.0.1)
echo echo
echo "Setup complete! You should be able to access your taiko-web instance at http://$IP" echo "Setup complete! You should be able to access your taiko-web instance at http://$IP"
echo echo