Skip to content

Setup technique

Prérequis

  • Docker Desktop (si Mac ou Windows)
  • Dump de la base de données (preprod)

Installation

1. Cloner le dépôt

git clone git@gitlab.com:article-1/inspire/inspire-v2.git
cp .env.example .env
sh compose.sh up -d

2. Importer la base de données

gunzip -c db_dump.sql.gz | docker exec -i inspire-v2-api-dev-db psql -U postgres -d template

URLs locales

Service URL
Frontend http://localhost:8481
API http://localhost:3236
Mailcatcher http://localhost:1080

Déploiement

Environnement Déclencheur
Staging Push sur la branche staging
Production Création d'un tag git (ex: 1.2.11)