[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:
argiro.kokogiannaki 2019-07-02 12:18:02 +00:00
parent 29decbb0ee
commit a8712b5916
5 changed files with 22 additions and 26 deletions

View File

@ -8,6 +8,8 @@
"claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/",
"statisticsAPIURL" : "https://beta.services.openaire.eu/stats-api/",
"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/",
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources",
"openCitationsAPIURL" : "https://services.openaire.eu/opencitations/getCitations?id=",

View File

@ -5,10 +5,23 @@
##run the script
## uncommect from here-->
#choose properties based on environment
# 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;
# rm -rf ../dist/assets/common-assets/.svn/;
# echo 'Ready!';
# echo 'Now copy only "dist" to the server!'
##<-- to here

View File

@ -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/* ."

View File

@ -125,6 +125,7 @@ export class AppComponent implements OnInit{
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('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();
},

View File

@ -27,13 +27,13 @@
<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-icons.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?v=1"></script>
<!-- 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/custom.css" />
<link rel="stylesheet" type="text/css" href="assets/common-assets/library.css" />
<link rel="stylesheet" type="text/css" href="assets/css/connect-custom.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?v=1" />