-
Oussama authored
add RGPD md file create pdf and html index fot iam modify the readme file add title to RGPD file add title to RGPD file
f45ebbf3
To learn more about this project, read the wiki.
README.md 13.09 KiB
VitamUI
Prerequisites
Tools
- Install JDK version >= 8
- Install Maven
- Run this script to set it up
- Install Git
- Install Node.js and npm (with nvm)
- Configure default registry:
npm config set registry https://registry.npmjs.org/
- Configure default registry:
- Python version 2.7 + pip for Python 2
- Install Ansible (see Ansible)
Ansible
Current version of VitamUI depends on Ansible version 2.7.0 in order to run installation scripts.
With VirtualEnv
In order not to interfere with more recent Ansible version, deploy a Python VirtualEnv in which you install Ansible 2.7.0:
- Check that VirtualEnv executable is installed:
apt-get install python-virtualenv
- In a directory of your choice, create the virtual environment:
virtualenv vitamUI-ansible
- Activate the environment:
vitamUI-ansible/bin/activate
Without VirtualEnv
- First remove older versions of Ansible before re-installing it:
pip uninstall ansible
. - Si une version d'ansible à été installée via
apt-get install
, il est nécessaire de la désinstaller :apt-get remove ansible
Common steps
- Install Ansible 2.7.0:
pip install ansible==2.7.0
- Check the version of ansible:
ansible --version
Il est possible que l'ajout du lien vers ansible dans le PATH et/ou qu'un redémarage soit nécessaire
Configuration
- Clone project and change ownership:
sudo chown -R $USER vitam-ui/
- Build project using the "right" profile (see Maven profiles and Build)
For Vitam internal developers
- Build project using
vitam
profile (see Build for Vitam developers ) - Set up environment variables :
SERVICE_NEXUS_URL
andSERVICE_REPOSITORY_URL
- Copy files:
access-external-client.conf
,ingest-external-client.conf
,keystore_ihm-demo.p12
andtruststore_ihm-demo.jks
intoapi/api-(iam|referential)/(iam|referential)-internal/src/main/config/dev-vitam/
- Redirect
dev.vitamui.com
URL defined in code tolocalhost
: add this line127.0.0.1 dev.vitamui.com
to yourhosts
(/etc/hosts
) file