xguaita / sitmun-admin-app

SITMUN Administration Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Quality Gate

SITMUN Administration Application

Requirements

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

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

This project depends on these plugins (already considered in the build script):

About

SITMUN Administration Application

License:European Union Public License 1.2


Languages

Language:TypeScript 55.5%Language:HTML 23.0%Language:CSS 10.2%Language:Shell 4.3%Language:Java 3.2%Language:JavaScript 3.1%Language:Dockerfile 0.7%