explore-services/services/utils-service/prepareDeploy.sh

15 lines
614 B
Bash
Raw Normal View History

#uncomment properties file based on deployment environment
#mv beta-properties.file properties.file
#mv production-properties.file properties.file
#rm -rf node_modules/ run.sh uploads/ .idea/ beta-properties.file production-properties.file
#rm prepareDeploy.sh
#Copy files to beta.explore.openaire.eu or explore.openaire.eu /home/argiro.kokogiannaki/portals/utils-service.YYYY-MM-DD
# run npm i
#change to user nodejs " sudo su nodejs -s /bin/bash"
#copy files to deploy folder " cp -r /home/argiro.kokogiannaki/portals/utils-service.YYY-MM-DD/* /srv/www/upload/"
# restart uplication "pm2 restart upload"