DEploy scripts:
keep only one script update claims admin component yo the changes regarding "externalPortalUrl" git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@54669 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
f16d75deeb
commit
00ea24e4b4
|
@ -1,34 +0,0 @@
|
||||||
#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 production-properties.json ../src/assets/env-properties.json;
|
|
||||||
# cp test-properties.json ../src/assets/env-properties.json;
|
|
||||||
# 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;
|
|
||||||
# echo 'For Production keep meta for bots';
|
|
||||||
# echo -n 'Check index.html: For test keep meta for noindex, for production remove noindex and keep meta for Search engines verification';
|
|
||||||
# echo -n "Press key:";
|
|
||||||
# read -n1 ans
|
|
||||||
# echo -n "Pressed";
|
|
||||||
# pico ../src/index.html;
|
|
||||||
# echo -n 'Check Robots.txt: For test and beta add "Diasallow /", for production remove it!';
|
|
||||||
# echo -n "Press key:";
|
|
||||||
# read -n1 ans
|
|
||||||
# echo -n "Pressed";
|
|
||||||
# pico ../src/robots.txt;
|
|
||||||
# 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
|
|
|
@ -1,13 +1,38 @@
|
||||||
#ATTENTION
|
#ATTENTION
|
||||||
#DON'T run it in svn folder - it REMOVES files
|
#DON'T run it in svn folder - it REMOVES files
|
||||||
#First you have to run prepareBuild Script!!!!!!!
|
#Copy project in another file "deploy-folder"
|
||||||
|
#cd "deploy-folder"
|
||||||
|
#run the script
|
||||||
|
|
||||||
|
## cp the file according to the deploy environment
|
||||||
|
|
||||||
|
# cp production-properties.json ../src/assets/env-properties.json;
|
||||||
|
# cp test-properties.json ../src/assets/env-properties.json;
|
||||||
|
# cp beta-properties.json ../src/assets/env-properties.json;
|
||||||
|
|
||||||
## uncommect from here-->
|
## 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;
|
||||||
|
# echo 'For Production keep meta for bots';
|
||||||
|
# echo -n 'Check index.html: For test keep meta for noindex, for production remove noindex and keep meta for Search engines verification';
|
||||||
|
# echo -n "Press key:";
|
||||||
|
# read -n1 ans
|
||||||
|
# echo -n "Pressed";
|
||||||
|
# pico ../src/index.html;
|
||||||
|
# echo -n 'Check Robots.txt: For test and beta add "Diasallow /", for production remove it!';
|
||||||
|
# echo -n "Press key:";
|
||||||
|
# read -n1 ans
|
||||||
|
# echo -n "Pressed";
|
||||||
|
# pico ../src/robots.txt;
|
||||||
|
# rm -rf ../src/assets/common-assets/.svn/;
|
||||||
|
# rm -rf ../src/app/openaireLibrary/.svn/;
|
||||||
|
# cd ..; npm run build:dynamic; cd deploy;
|
||||||
# rm -rf ../src ../node_modules ../.idea/ ../installOpenaireLib.sh;
|
# rm -rf ../src ../node_modules ../.idea/ ../installOpenaireLib.sh;
|
||||||
# echo 'Now copy to the server!'
|
# echo 'Now copy to the server!'
|
||||||
#echo 'remove this deploy folder'
|
#echo 'remove this deploy folder'
|
||||||
|
|
||||||
##<-- to here
|
##<-- to here
|
||||||
|
|
||||||
#Deploy instructions!
|
#Deploy instructions!
|
||||||
|
|
|
@ -7,7 +7,7 @@ import {EnvProperties} from '../../openaireLibrary/uti
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'openaire-claims-admin',
|
selector: 'openaire-claims-admin',
|
||||||
template: `
|
template: `
|
||||||
<claims-admin [claimsInfoURL]=claimsInfoURL moreClaimsURL="/participate/claim">
|
<claims-admin [claimsInfoURL]=claimsInfoURL>
|
||||||
</claims-admin>
|
</claims-admin>
|
||||||
|
|
||||||
`,
|
`,
|
||||||
|
|
Loading…
Reference in New Issue