diff --git a/deploy/beta-properties.json b/deploy/beta-properties.json index f2ffbc0..6a63882 100644 --- a/deploy/beta-properties.json +++ b/deploy/beta-properties.json @@ -1,7 +1,7 @@ { "environment":"beta", "enablePiwikTrack" : false, - "useCache" : true, + "useCache" : false, "metricsAPIURL" : "https://beta.services.openaire.eu/usagestats/", "framesAPIURL" : "https://beta.openaire.eu/stats3/", "claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/", diff --git a/deploy/prepareDeploy.sh b/deploy/prepareDeploy.sh index 6713f1f..f52ae6d 100755 --- a/deploy/prepareDeploy.sh +++ b/deploy/prepareDeploy.sh @@ -14,7 +14,7 @@ # echo -n "Press key:"; # read -n1 ans # pico ../src/assets/env-properties.json; -# echo -n 'Check Robots.txt: For test and beta add "Diasallow /", for production remove it!'; +# echo -n 'Check Robots.txt: always add "Diasallow /"'; # echo -n "Press key:"; # read -n1 ans # echo -n "Pressed"; @@ -30,5 +30,5 @@ ##copy "deploy-folder/dist" in demo.openaire.eu ##coppies of previous deployments exist in "/home/argiro.kokogiannaki/uoa-portal/connect-adminYYYY-MM-DD" ##become nodejs user: "sudo su nodejs -s /bin/bash" -##go to "cd /srv/www/portal-www" -##cp files from "cp -r HOME_PATH/deploy-folder/* ." +##protal files exists in "/srv/www/portal-www" +##cp files from "cp -r /home/argiro.kokogiannaki/uoa-portal/connect-adminYYYY-MM-DD/* /srv/www/portal-www" diff --git a/deploy/production-properties.json b/deploy/production-properties.json index 394bebc..4adbb0c 100644 --- a/deploy/production-properties.json +++ b/deploy/production-properties.json @@ -1,7 +1,7 @@ { "environment":"production", "enablePiwikTrack" : false, - "useCache" : true, + "useCache" : false, "metricsAPIURL" : "https://services.openaire.eu/usagestats/", "framesAPIURL" : "https://www.openaire.eu/stats3/", "claimsAPIURL" : "https://services.openaire.eu/claims/rest/claimsService/",