-
ludovic Blanchet authored
* Update Ingest config with new model * Fix dependancies and exclusion conflicts * Fix mongo scripts target (referential/ingest) * Fix customer-init.yml and theme/categories config
4b2f719f
To learn more about this project, read the wiki.
README.md 11.64 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.