connect/deploy/prepareBuild.sh

21 lines
711 B
Bash
Raw Normal View History

#ATTENTION
#DON'T run it in svn folder - it REMOVES files
#Copy project in another file "deploy-folder"
#cd "deploy-folder"
#run the script
## cp the file according to the deploy environment
# cp beta-properties.json ../src/assets/env-properties.json;
## uncommect from here-->
# echo -n 'Check properties service to have the url for the deployment environment!!';
# echo -n "Press key:";
# read -n1 ans
# echo -n "Pressed";
# pico ../src/app/openaireLibrary/utils/properties/environment-specific.service.ts;
# rm -rf ../src/assets/common-assets/.svn/;
# rm -rf ../src/app/openaireLibrary/.svn/;
# echo 'Run "cd ..; npm run build:dynamic; cd deploy;" ';
# echo 'Then run prepary deploy script';
##<-- to here