This application was generated using JHipster 6.10.3, you can find documentation and help at https://www.jhipster.tech/documentation-archive/v6.10.3.
- All function names, variables, documentation etc... must be imperatively in anglais and written in CamelCase.
- Api REST convention, refer to the official website : https://restfulapi.net/resource-naming .
- For any information on the tasks or requests, please refer to the official Trello : https://trello.com/b/aXuA8Jp8/agile .
- It is imperative to follow the git flow.
- All remote communications must go through discord in the right channels in order to keep track.
The development is done under docker.
Please read docker-compose
documentation.
All docker config file are in src/main/docker
.
Dev docker config file :
app-dev.yml
lampaderum-dev-springboot.dockerfile
postgresql.yml, jhipster-registry.yml
same as prod.
lampaderum-dev-springboot.dockerfile
are docker images build
for dev. This image use your local project files to compile and execute programs. This means that you can develop
on your favorite IDE.
In order to start, you need to create a volume to store DB data : docker volumes create postgesql
.
-
With intelliJ, simply go to the
app-dev.yml
and clic on the double arrow in front ofservices
. -
Using CLI :
docker compose app-dev.yml up
-
With intelliJ
- go to the 'Services' tab, clic right on the
lampaderum-app
container, stop and start it. - simply go to the
app-dev.yml
and clic on the loop arrow in front oflampaderum-app
.
- go to the 'Services' tab, clic right on the
-
With ``docker-compose``` commande
lampaderum-node ng generate component xyz
You can also use [Angular CLI][] to generate some custom client code.
For example, the following command:
ng generate component my-component
will generate few files:
create src/main/webapp/app/my-component/my-component.component.html
create src/main/webapp/app/my-component/my-component.component.ts
update src/main/webapp/app/app.module.ts
To launch your application's tests, run:
./mvnw verify
Unit tests are run by [Jest][] and written with [Jasmine][]. They're located in src/test/javascript/ and can be run with:
npm test
For more information, refer to the [Running tests page][].
Sonar is used to analyse code quality. You can start a local Sonar server (accessible on http://localhost:9001) with:
docker-compose -f src/main/docker/sonar.yml up -d
You can run a Sonar analysis with using the sonar-scanner or by using the maven plugin.
Then, run a Sonar analysis:
./mvnw -Pprod clean verify sonar:sonar
If you need to re-run the Sonar phase, please be sure to specify at least the initialize
phase since Sonar properties are loaded from the sonar-project.properties file.
./mvnw initialize sonar:sonar
For more information, refer to the [Code quality page][].
[email protected] (Gary Prat)
[email protected] (Julien Alaimo)
[email protected] (Vincent Arnone)
[email protected] (Antoine Rotival)
[email protected] (Hugo Feydel)