Skip to content
Snippets Groups Projects
  • Mathieu Leguay's avatar
    Amélioration de la gestion des scripts Mongo (#38) · bdfb46cd
    Mathieu Leguay authored
    
    * [DLAB-4154] Fix PKI: missing password in vault file for the cert vitamui
    
    * [DLAB-4154] Improve the management of mongo scripts
    
    - Mutualize scripts between dev environment and deployment
    - Add versioning on scripts executed on a given environment
    
    * [DLAB-4154] Upgrade scripts organization for PKI in order to authorize overrides
    
    * [DLAB-4154] Add PKI for dev
    
    * [DLAB-4154] Fix PKI: missing password in vault file for the cert vitamui
    
    * [TECH] generate certs & stores for new referential apps
    
    * [TECH] Dev environment : avoid duplication & use certs in dev-deployment in root project
    
    * [TECH] Remove dlab mentions in yml playbook
    
    * [TECH] Fix spelling errors
    
    * [TECH] Generate vitamui examples certs in deployment
    
    * [TECH] Fix spelling errors
    
    * [TECH] Update scripts and mongo configuration for referential apps
    
    * [TECH] Nginx add referential apps
    
    * [TECH] Remove mitogen execution
    
    * [TECH] Mongo dev add hosts config
    
    * [TECH] Rollbac wrong domain names changes from PR #36
    
    * [TECH] Fix tests
    
    * [TECH] Move scripts into deployment
    
    Co-authored-by: default avatarMathieu Leguay <mathieu.leguay@ouidou.fr>
    Co-authored-by: default avatarMakhtar DIAGNE <makhtar.diagne@teamdlab.com>
    Unverified
    bdfb46cd
To learn more about this project, read the wiki.

SAE Application

Development

Install :

  1. [Maven]
  2. [Node.js]

Ajouter dans votre fichier /etc/hosts la ligne suivante :

dev.vitamui.com

Pour démarrer l'application en mode développement lancer les commandes suivantes dans des consoles différentes

mvn clean spring-boot:run
npm start

Pour démarrer l'application en mode packagé

mvn clean package -Pwebpack
java -Dspring.config.additional-location=src/main/config/ui-identity-application-recette.yml -jar target/ui-identity.jar

La commande mvn spring-boot:run utilise le fichier de configuration présent dans src/main/config/application-dev.yml

Testing

mvn clean test

Build in production

mvn clean package -Pwebpack