[Admin tool|Trunk]
App: add support link index.html: set version of files deploy: clean up deploy folder and script git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56317 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
29decbb0ee
commit
a8712b5916
|
@ -8,6 +8,8 @@
|
||||||
"claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/",
|
"claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/",
|
||||||
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/",
|
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/",
|
||||||
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/",
|
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/",
|
||||||
|
"statisticsFrameNewAPIURL": "http://marilyn.athenarc.gr:8080/stats-api/",
|
||||||
|
"useNewStatistisTool":false,
|
||||||
"searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/",
|
"searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/",
|
||||||
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources",
|
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources",
|
||||||
"openCitationsAPIURL" : "https://services.openaire.eu/opencitations/getCitations?id=",
|
"openCitationsAPIURL" : "https://services.openaire.eu/opencitations/getCitations?id=",
|
||||||
|
|
|
@ -5,10 +5,23 @@
|
||||||
##run the script
|
##run the script
|
||||||
|
|
||||||
## uncommect from here-->
|
## uncommect from here-->
|
||||||
|
#choose properties based on environment
|
||||||
# cp beta-properties.json ../src/assets/env-properties.json;
|
# cp beta-properties.json ../src/assets/env-properties.json;
|
||||||
# pico ../src/app/openaireLibrary/utils/properties/environment-specific.service.ts;
|
# cp production-properties.json ../src/assets/env-properties.json;
|
||||||
|
|
||||||
|
|
||||||
|
# echo -n 'Check that you have the correct properties file';
|
||||||
|
# echo -n "Press key:";
|
||||||
|
# read -n1 ans
|
||||||
|
# pico ../src/assets/env-properties.json;
|
||||||
|
# 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/;
|
||||||
# npm run build;
|
# npm run build;
|
||||||
# rm -rf ../dist/assets/common-assets/.svn/;
|
|
||||||
# echo 'Ready!';
|
# echo 'Ready!';
|
||||||
# echo 'Now copy only "dist" to the server!'
|
# echo 'Now copy only "dist" to the server!'
|
||||||
##<-- to here
|
##<-- to here
|
|
@ -1,20 +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
|
|
||||||
|
|
||||||
## uncommect from here-->
|
|
||||||
# cp production-properties.json ../src/assets/env-properties.json;
|
|
||||||
# pico ../src/app/openaireLibrary/utils/properties/environment-specific.service.ts;
|
|
||||||
# npm run build;
|
|
||||||
# rm -rf ../dist/assets/common-assets/.svn/;
|
|
||||||
# echo 'Ready!';
|
|
||||||
# echo 'Now copy dist to the server!'
|
|
||||||
##<-- to here
|
|
||||||
|
|
||||||
##copy "deploy-folder/dist" in explore.openaire.eu
|
|
||||||
##coppies of previous deployments exist in "/home/argiro.kokogiannaki/portals/adminYYYY-MM-DD"
|
|
||||||
##become nodejs user: "sudo su nodejs -s /bin/bash"
|
|
||||||
##go to "cd /srv/www/portal-www"
|
|
||||||
##cp files from "cp -r HOME_PATH/deploy-folder/* ."
|
|
|
@ -125,6 +125,7 @@ export class AppComponent implements OnInit{
|
||||||
if (this.communityId) {
|
if (this.communityId) {
|
||||||
this.userMenuItems.push(new MenuItem('manage-user-notifications', 'Manage notification settings', '', '/manage-user-notifications', false, [], [], {communityId: this.communityId}));
|
this.userMenuItems.push(new MenuItem('manage-user-notifications', 'Manage notification settings', '', '/manage-user-notifications', false, [], [], {communityId: this.communityId}));
|
||||||
this.userMenuItems.push(new MenuItem('personal', 'Manage Personal Info', '', '/personal', false, [], [], {communityId: this.communityId}));
|
this.userMenuItems.push(new MenuItem('personal', 'Manage Personal Info', '', '/personal', false, [], [], {communityId: this.communityId}));
|
||||||
|
this.userMenuItems.push(new MenuItem("","Support","https://openaire-connect.d4science.org/group/openaire-connect-gateway/explore?siteId=172366611","",false,[],[],{}))
|
||||||
}
|
}
|
||||||
this.buildSideBar();
|
this.buildSideBar();
|
||||||
},
|
},
|
||||||
|
|
|
@ -27,13 +27,13 @@
|
||||||
|
|
||||||
<script src="assets/common-assets/common/jquery.js"></script>
|
<script src="assets/common-assets/common/jquery.js"></script>
|
||||||
|
|
||||||
<script src="assets/common-assets/common/uikit.min.js"></script>
|
<script src="assets/common-assets/common/uikit.min.js?v=1"></script>
|
||||||
<script src="assets/common-assets/common/uikit-icons.min.js"></script>
|
<script src="assets/common-assets/common/uikit-icons.min.js?v=1"></script>
|
||||||
<!-- stylesheets -->
|
<!-- stylesheets -->
|
||||||
<link rel="stylesheet" type="text/css" href="assets/common-assets/common/theme.css" />
|
<link rel="stylesheet" type="text/css" href="assets/common-assets/common/theme.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="assets/common-assets/common/custom.css" />
|
<link rel="stylesheet" type="text/css" href="assets/common-assets/common/custom.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="assets/common-assets/library.css" />
|
<link rel="stylesheet" type="text/css" href="assets/common-assets/library.css?v=1" />
|
||||||
<link rel="stylesheet" type="text/css" href="assets/css/connect-custom.css" />
|
<link rel="stylesheet" type="text/css" href="assets/css/connect-custom.css?v=1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue