Skip to content

MTES-MCT/histologe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Histologe.beta.gouv.fr

Une solution pour détecter et accélérer la prise en charge du “mal logement”.

Environnement

Cette application est déployé chez Scalingo, hébergé par Outscale.

Pré-requis

Requirements Release
Docker engine (minimum) 25.0.*
Scalingo CLI (minimum) 1.24
AWS CLI OVH Object storage (optionnel) 1.25
PHP (optionnel) 8.1.*
Composer (optionnel) 2.7.*
Node (optionnel) 18.*

Environnement technique

Principaux outils utilisés

Versions des dépendances

Service Version
Nginx 1.20.2
PHP 8.1.x (latest)
Node.js 18.16.x
MySQL 8.0
Redis 7.0.x (latest)

URL(s)

Description Lien
Plateforme histologe localhost:8080
phpMyAdmin localhost:8081
MailCatcher localhost:1080
Wiremock localhost:1082
Metabase localhost:3007
Matomo localhost:1083

Hôtes des environnements et ports

Merci de vérifier que ces ports ne soient pas utilisés sur votre poste local

Service Hostname Port number
Nginx histologe_nginx 8080
php-fpm histologe_phpfpm 9000
php-worker histologe_phpworker 8089
MySQL histologe_mysql 3307
PhpMyAdmin histologe_phpmyadmin 8081
Mailcatcher histologe_mailer 1025 et 1080
Wiremock histologe_wiremock 8082
Metabase histologe_metabase 3007
Matomo histologe_matomo 1083
Redis histologe_redis /

Installation

Commandes

Un Makefile est disponible, qui sert de point d’entrée aux différents outils :

$ make help

Lancement

  1. Executer la commande

La commande permet d'installer l'environnement de developpement avec un jeu de données

$ make build
  1. Configurer les variables d'environnements du service object storage S3 d'OVH Cloud

Se rapprocher de l'équipe afin de vous fournir les accès au bucket de dev

# .env.local
### object storage S3 ###
S3_ENDPOINT=
S3_KEY=
S3_SECRET=
S3_BUCKET=
S3_URL_BUCKET=
### object storage S3 ###
  1. Se rendre sur http://localhost:8080

Pour tous les utilisateurs, le mot de passe est histologe

Territoire Partenaire Email Rôle
N/A Admin Histologe admin-01@histologe.fr ROLE_ADMIN
Bouches-du-Rhône Admin Territoire 13 admin-territoire-13-01@histologe.fr ROLE_ADMIN_TERRITORY
Ain Admin Territoire 01 admin-territoire-01-01@histologe.fr ROLE_ADMIN_TERRITORY
Bouches-du-Rhône Admin Partenaire 13 admin-partenaire-13-01@histologe.fr ROLE_ADMIN_PARTNER
Ain Admin Partenaire 01 admin-partenaire-01-01@histologe.fr ROLE_ADMIN_PARTNER
Bouches-du-Rhône Utilisateur Partenaire 13 user-13-01@histologe.fr ROLE_USER_PARTNER
Ain Utilisateur Partenaire 01 user-01-01@histologe.fr ROLE_USER_PARTNER

Pour les mails générique partenaire, la nomenclature est la suivante: partenaire-[zip]-[index]

Documentation projet

Contribuer

Consulter les instructions de contributions.