From 8900b172fd86882d0eb6c1fd1d4e93a3bfd9c0a7 Mon Sep 17 00:00:00 2001 From: Gsk54 Date: Thu, 15 Dec 2022 10:46:02 +0100 Subject: [PATCH] update readme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3d3a887..f8f0792 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ docker-compose up -d The app runs automatically on the port defined in `SERVICE_PORT` of `.env` file (default : _3001_). +## Database migration + +Before using the app, you need to launch the database migration : + +```bash +docker exec v3_user sh -c "npx prisma migrate dev" +``` + ## Usage The app exposes the following [gRPC](https://grpc.io/) services :