Javatheque is a project to create an API rest for managing a video library using Java Jakarta.
This project is part of module RT0805 of the Master DAS.
- Dupont Corentin
- Morlet Flavien
Before you start, you'll need to install Glassfish.
If you are on Windows don't forget to launch "Docker Desktop".
asadmin start-domain [domaine-name]
cd javatheque/
# If you are on Windows use a Git terminal or WSL to perform these commands
chmod +x mvnw
chmod +x mvnw.cmd
cd javatheque/
docker-compose up --build
.\mvnw clean install
asadmin deploy .\target\javatheque.war
.\mvnw clean install
asadmin redeploy --name javatheque .\target\javatheque.war
You can access at : http://localhost:8080/javatheque