RapportNav is a mission reporting tools developed by the French administration (https://mer.gouv.fr/).
Before trying to run the project, make sure you have:
rapportnavdb
database with the right users and passwords
createdb rapportnavdb
dropdb rapportnavdb
if you wanna start cleanpostgres
: createuser --interactive
psql -d rapportnavdb -U postgres -h localhost
\du
metabase
schema" CREATE SCHEMA metabase;
and verify with \dn
The app is fully dockerized for local development. Run the command make docker-run-local
If you have an Apple chipset don't forget to add the following line in your .bashrc:
export DOCKER_DEFAULT_PLATFORM=linux/amd64
The following checks are performed through Github Actions:
npm audit
As we are mirroring our repo onto our host's repo, who can also provide changes and commits, make sure to align the two repos before deploying:
git remote add mirror https://gitlab-sml.din.developpement-durable.gouv.fr/num3-exploitation/deploiement-continu/gitlab-ci/applications/rapportnav-v2/rapportnav-v2.git
git fetch mirror
git pull mirror main
build.gradle.kts
package.json
and make front-ci
again to regen the package-lock.json
PROJECT_VERSION
in the file .gitlab-ci.yml
release
Action