For launch the test =>
- Open a new terminal in vscode enter "docker compose -f docker-compose.test.yml up"
- your DB is lauched on your computer
- open a new terminal in vscode enter "npm test ./tests"
For Lauch the back =>
- Open a new terminal in vscode enter "docker compose up --build"
For merge tow branchs =>
- Ouvrir un terminal
- Rester sur la branch qu'on pull request "git checkout authentication"
- Mettre à jour toute les autres branches avec "git fetch --all
- Merge la branch d'arrivée sur la branch en cours "git merge dev"
- Si il y a des conflits les resoudre dans vscode sauf pour le packge-lock.json que l'on peut supprimer
- Si on a supprimé le package-lock.json, on le recréer avec un "nmp i" ou "yarn i"
- Afficher le status des changement actuellement pris en compte avec "git status"
- Pour ajouter les élement non chargé dans la pull request entrer "git add -A"
- Revérifier le status des changement actuellement pris en compte avec "git status", tout doit être en vert
- Commmit tout les changement chargé avec "git commit -m 'le message'"
- Synchroniser le repository avec "git push"