| Contributor | Profile |
|---|---|
| Alfredo Jirout Cid | |
| Manuel García Baldo | |
| Miguel Olamendi Alonso | |
| Nicolas Guerbartchouk Pérez |
As a basis, we have used last year's project wiq_es04b.
-
Fist you have to clone the repository using a CMD and the following command:
git clone https://github.com/Arquisoft/wichat_es4b.gitor using an IDE with Git integration or any other app of your preference. -
Next, download HSQLDB and execute the
hsqldb/bin/runServer.batscript to start the local database. -
You need to obtain an API key from Gemini and assign it to the environment variable
GEMINI_API_KEY. -
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=trueif 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.
-
Then you have to clone the repository using a CMD and the following command:
git clone https://github.com/Arquisoft/wichat_es4b.gitor using an IDE with Git integration or any other app of your preference. -
Next, you need to obtain an API key from Gemini and assign it to the environment variable used by docker-compose in the .env file as
GEMINI_API_KEY. -
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.