Deploy script - Detailed information

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@52656 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2018-07-03 09:17:33 +00:00
parent f9b09add93
commit 54fc8a2180
2 changed files with 25 additions and 8 deletions

View File

@ -1,7 +1,24 @@
cp explore-production-properties.json src/assets/env-properties.json;
rm -rf src/assets/common-assets/.svn/;
rm -rf src/app/openaireLibrary/.svn/;
npm run build:dynamic;
rm -rf src node_modules .idea/ connect-production-properties.json installOpenaireLib.sh;
echo 'Ready!';
echo 'Now copy dist to the server!'
#ATTENTION
#DON'T run it in svn folder - it REMOVES files
#Copy project in another file "deploy-folder"
#cd "deploy-folder"
#run the script
## uncommect from here-->
# cp explore-production-properties.json src/assets/env-properties.json;
# rm -rf src/assets/common-assets/.svn/;
# rm -rf src/app/openaireLibrary/.svn/;
# pico src/app/openaireLibrary/utils/properties/environment-specific.service.ts;
# npm run build:dynamic;
# rm -rf src node_modules .idea/ connect-production-properties.json installOpenaireLib.sh;
# echo 'Ready!';
# echo 'Now copy to the server!'
##<-- to here
#copy "deploy-folder" in demo.openaire.eu
#coppies of previous deployments exist in "/home/argiro.kokogiannaki/uoa-portal/openaireYYYY-MM-DD"
#run "npm i"
#become nodejs user: "sudo su nodejs -s /bin/bash"
#go to "cd /srv/www/portal"
#cp files from "cp -r HOME_PATH/deploy-folder/* ."
#restart portal "pm2 restart openaire"

View File

@ -34,7 +34,7 @@
"piwikBaseUrl" :"https://analytics.openaire.eu/piwik.php?idsite=",
"piwikSiteId" : "6",
"loginUrl" :"http://scoobydoo.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/openid_connect_login",
"loginUrl" :"http://mpagasas.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/openid_connect_login",
"logoutUrl" :"https://aai.openaire.eu/proxy/saml2/idp/SingleLogoutService.php?ReturnTo=",