-
Makhtar DIAGNE authored
* [TECH] Nginx add referential apps * [TECH] Fix theme default logo * [TECH] Fixes from PR review * [TECH] Strange fixes for ui-referential (why was it working) * Update ui/ui-frontend/projects/identity/src/locale/messages.xlf Co-authored-by:
CouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com> * [TECH] Merge fixes * compilation works * it runs * fix login/pwd authentication * handle provided username * some refactoring * login/pwd + authn delegation works (with or without service) * surrogation works * change password is triggered when the user is already authenticated using the doChangePassword parameter * password management * final tests on surrogation * WIP MFA * MFA works * [TECH] Update project from JAVA8 to JAVA11 with dependencies * [TECH] Remove unused jks files in integration data * fix back links * don't lost surrogation when bad password * [TECH] CAS set metrics dependency for prometheus * cle...
README.md 10.58 KiB
VitamUI
VitamUI project.
Prerequisites
- Install Java at least version 8
- Install Maven
- Install Git
- Install NodeJs
- Configure default registry: npm config set registry https://registry.npmjs.org/
- Environment variable :
- Vitam developer
- Specify the environment variables : SERVICE_NEXUS_URL and SERVICE_REPOSITORY_URL
- The maven command. Params between {} are optional: mvn clean install {-Ddependency-check.skip=true} -Denv.SERVICE_NEXUS_URL=... -Denv.SERVICE_REPOSITORY_URL=... {-DskipTests} -Pvitam
- Non vitam developer
- Build vitam locally @see https://github.com/ProgrammeVitam/vitam/#id11
- Vitam developer
Clone
Execute this command to clone the project from the bitbucket repo:
git clone https://github.com/vitam-prg/vitamUI.git
Global Maven profiles
Without a profile, only Java projects are build.
In order to build and package UI projects (i.e. Java backend & Angular frontend altogether), we use the plugin frontend-maven-plugin
provided by com.github.eirslett
.
dev
This profile is used to build the entire project for dev purposes, backend & frontend included.
- UI modules are packaged with both Java & Angular.
- Angular projects are build without optimization in order to reduce global build time.
- Jasmine Karma tests are launched with the headless chrome.
prod
This profile is used to build the entire project for prod purposes, backend/frontend included.
- UI modules are packaged with both Java & Angular.
- Angular projects are build with optimization.
- Jasmine Karma tests are launched with the headless chrome.
npm-publish
This profile is used to build, test & push npm packages to the npm repository.
- It should be used in ui/ui-frontend-common to push the npm package of the common UI library.
rpm
This profile is used to build rpm packages. Only Maven modules with rpm.skip = false
in their properties are eligible.