explore-services/explore/deploy/prepareDeploy.sh

21 lines
767 B
Bash
Executable File

#ATTENTION
#DON'T run it in svn folder - it REMOVES files
#First you have to run prepareBuild Script!!!!!!!
## uncommect from here-->
# rm -rf ../src ../node_modules ../.idea/ ../installOpenaireLib.sh;
# echo 'Now copy to the server!'
#echo 'remove this deploy folder'
##<-- to here
#Deploy instructions!
#copy "deploy-folder" in beta.explore.openaire.eu, test.openaire.eu or explore.openaire.eu depending which in environment want to deploy and properties selected
#copies of previous deployments exist in "/home/argiro.kokogiannaki/deployments-folder/dashboardYYYY-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/deployments-folder/* ."
#restart portal "pm2 restart openaire"