- Pelayo Rojas Iñigo
- Álvaro Arias Martínez De Vega
- Ricardo Díaz Núñez
- Roberto Peña Goy
- Iker Álvarez Fernández
-
Fist you have to clone the repository using a CMD and the following command:
git clone https://github.com/Arquisoft/wiq_es04b.git
or using an IDE with Git integration or any other app of your preference. -
Then you have to execute the runServer.bat to start the local database.
-
With the database initialized you have to open a CMD in the project root directory and execute the following command
mvnw spring-boot:run
, to start the application. -
When the application is started the web app uses the port 3000. You can access the app through any web client using the following URL: http://localhost:3000/.
-
If you wish to execute the tests you have to open a CMD in the project root directory (you could use the same you used before), you have to execute
set EXCLUDE_JUNIT=true
if you also want to execute the E2E tests. Then to execute the tests you have to use the following command:mvnw org.jacoco:jacoco-maven-plugin:prepare-agent verify
. -
If you want to obtain the report you have to torn off the app and in the same CMD as before execute the following command:
mvnw org.jacoco:jacoco-maven-plugin:report
.
- First you need to have installed docker and docker compose.
- Then you have to clone the repository using a CMD and the following command:
git clone https://github.com/Arquisoft/wiq_es04b.git
or using an IDE with Git integration or any other app of your preference. - Then you have to open a CMD in the project root directory and execute the following command:
docker-compose up
. This is going to deploy the docker image that is in our repository. This docker will contain the app, a MySql database, Graphana and Prometheus. The app will be available in the port 443 https.