fix install script
This commit is contained in:
parent
9824be12f8
commit
d14bfa758d
11
install.sh
11
install.sh
|
@ -590,12 +590,15 @@ sudo certbot certonly --standalone --agree-tos -m ${letsemail} --no-eff-email -d
|
||||||
sudo chown -R $USER:$GROUP /home/${USER}/.npm
|
sudo chown -R $USER:$GROUP /home/${USER}/.npm
|
||||||
sudo chown -R $USER:$GROUP /home/${USER}/.config
|
sudo chown -R $USER:$GROUP /home/${USER}/.config
|
||||||
|
|
||||||
vueconf="$(cat << EOF
|
quasarenv="$(cat << EOF
|
||||||
VUE_APP_PROD_URL = "https://${rmmdomain}"
|
PROD_URL = "https://${rmmdomain}"
|
||||||
VUE_APP_DEV_URL = "http://localhost:8000"
|
DEV_URL = "https://api.example.com"
|
||||||
|
APP_URL = "https://app.example.com"
|
||||||
|
DEV_HOST = 0.0.0.0
|
||||||
|
DEV_PORT = 80
|
||||||
EOF
|
EOF
|
||||||
)"
|
)"
|
||||||
echo "${vueconf}" | tee /home/${USER}/rmm/web/.env.local > /dev/null
|
echo "${quasarenv}" | tee /home/${USER}/rmm/web/.env > /dev/null
|
||||||
|
|
||||||
print_green 'Installing the frontend'
|
print_green 'Installing the frontend'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue