Supports pour le cours des master 2 informatique de l'Insitut Galilée
Lien du TP1: https://lipn.univ-paris13.fr/~breuvart/LEE/TP1.pdf
Prérequis:
- java JDK 11 (n'oubliez pas de configurer votre JAVA_HOME)
- docker
- docker-compose
- nodejs
- Pour lancer votre base de données (ici ça sera MySQL) :
docker-compose up -d mysql-db
-
Utilisation du backend :
- Build du projet avec gradle :
cd backend && ./gradlew clean build; cd -
- Lancer le backend :
docker-compose up --build servlet vertx
-
Build de l'interface utilisateur :
- Build du projet avec npm (le site se trouvera dans dist)
npm run build
- Lancer le frontend :
docker-compose up -d --build ui
-
Pour utiliser l'interface utilisateur, il faut mettre comme query param
http://127.0.0.1/?url=http://127.0.0.1:8080
par exemple.