Commit 791185de authored by François Agneray's avatar François Agneray
Browse files

Add config files for sdb-lam

parent 5d0ac4bd
Pipeline #4084 passed with stages
in 10 minutes and 9 seconds
......@@ -6,17 +6,18 @@ list:
@echo ""
@echo "Useful targets:"
@echo ""
@echo " install > install node modules dependancies (node_modules)"
@echo " start > run a dev server for $(NAME_APP) application (in memory)"
@echo " stop > stop the dev server for $(NAME_APP) application"
@echo " restart > restart the dev server for $(NAME_APP) (container)"
@echo " status > display $(NAME_APP) container status"
@echo " test > run $(NAME_APP) tests"
@echo " test-watch > run $(NAME_APP) tests on every file change"
@echo " report > open the code coverage report in a browser (only available for Linux)"
@echo " build > generate the angular dist application (html, css, js)"
@echo " logs > display $(NAME_APP) container logs"
@echo " shell > shell into $(NAME_APP) container"
@echo " install > install node modules dependancies (node_modules)"
@echo " start > run a dev server for $(NAME_APP) application (in memory)"
@echo " stop > stop the dev server for $(NAME_APP) application"
@echo " restart > restart the dev server for $(NAME_APP) (container)"
@echo " status > display $(NAME_APP) container status"
@echo " test > run $(NAME_APP) tests"
@echo " test-watch > run $(NAME_APP) tests on every file change"
@echo " report > open the code coverage report in a browser (only available for Linux)"
@echo " build > generate the angular dist application (html, css, js)"
@echo " build-sdb-lam > generate the angular dist application (SDB LAM Prod Version)"
@echo " logs > display $(NAME_APP) container logs"
@echo " shell > shell into $(NAME_APP) container"
@echo ""
install:
......@@ -53,6 +54,11 @@ build:
-v $(CURDIR):/project \
-w /project anis-node ng build --prod --base-href /admin/
build-sdb-lam:
@docker build -t anis-node conf-dev && docker run --init -it --rm --user $(UID):$(GID) \
-v $(CURDIR):/project \
-w /project anis-node ng build --configuration=sdb-lam --base-href /sdb/admin/
logs:
@docker logs -f -t $(NAME_APP)
......
......@@ -61,6 +61,14 @@
"maximumError": "10kb"
}
]
},
"sdb-lam": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.sdb-lam.ts"
}
]
}
}
},
......
export const environment = {
production: true,
apiUrl: '/sdb/server',
baseHref: '/sdb/admin',
ssoAuthUrl: 'https://keycloak.lam.fr/auth/',
ssoRealm: 'cesamsi',
ssoClientId: 'sdb-export',
ssoLoginRedirectUri: '/',
ssoLogoutRedirectUri: '/login'
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment