Created Test Environment test.freeplanet.app

and Server: /var/www/test.freeplanet_server
This commit is contained in:
Paolo Arena
2021-09-28 23:44:55 +02:00
parent c16d444d1b
commit 489c4fecc7
39 changed files with 230 additions and 108 deletions

17
deploy_frontend.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
source ./.env.production
msg="*** TUTTI I SERVER FRONTEND !!! **** SEI SICURO DI INVIARE GLI AGGIORNAMENTI FRONTEND - SU TUTTI SERVER ??? $DIRECTORY_LOCAL (Y/N) ? "
if [ "$1" = "" ]; then
read -p "$msg" risposta
else
risposta=$1
fi
if [[ $risposta == "Y" || $risposta == "y" ]]; then
cd /home/paolo/myproject/$DIRECTORY_LOCAL/
./deploy_on_production.sh $risposta
./deploy_on_test_server.sh $risposta
fi