Skip to content

Arquisoft/wichat_es4b

 
 

Repository files navigation

wichat_es4b

Deploy on release Quality Gate Status Coverage

Contributors:

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.

Local deployment instructions:

Without docker (slower):

  1. Fist you have to clone the repository using a CMD and the following command: git clone https://github.com/Arquisoft/wichat_es4b.git or using an IDE with Git integration or any other app of your preference.

  2. Then you have to execute the runServer.bat to start the local database.

  3. 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.

  4. 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/.

  5. 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.

  6. 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.

With docker (faster):

Disclaimer: This method is faster but it is not recommended for development because it is harder to debug and to see the logs and it is harder to execute the tests.

  1. First you need to have installed docker and docker compose.
  2. Then you have to clone the repository using a CMD and the following command: git clone https://github.com/Arquisoft/wichat_es4b.git or using an IDE with Git integration or any other app of your preference.
  3. 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.

Packages

 
 
 

Languages

  • Java 71.0%
  • HTML 20.6%
  • Gherkin 3.3%
  • JavaScript 2.8%
  • CSS 2.2%
  • Dockerfile 0.1%