Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (28 loc) · 1.87 KB

File metadata and controls

36 lines (28 loc) · 1.87 KB

Build Status Quality Gate

SITMUN Administration Application

Requirements

  • Java 8 release
  • Node 8.x (LTS) or greater LTS release and npm

Build and run (development)

Build and run in Docker (development)

  • Clone the repository.
  • Prepare the environment with ./gradlew assemble.
  • Run ./gradlew docker to build the docker image.
  • Run ./gradlew dockerRun to start the container and open http://localhost:8080 (wait a few seconds).
  • To stop and to remove the container you can run ./gradlew dockerStop.

Code development

Run ./build-scripts/build-local.sh. If the build is successful, it will launch a SonarQube analysis in SonarCloud. This requires that you have a SonarCloud user added to the SITMUN organization, and a token. To create a token, go to your SonarCloud account page, Security tab, and generate one. Then create a file in $HOME/.gradle/gradle.properties with this line: systemProp.sonar.login=LONG_CHAR_STRING_THAT_IS_YOUR_SONARCLOUD_TOKEN. If you already had that file, simply add the line to it. If you the SonarCloud analysis has been properly run, you can see the report by clicking on the quality gate badge above.

Dependencies