update readme

This commit is contained in:
Gsk54 2022-12-15 10:46:02 +01:00
parent 4faa39e771
commit 8900b172fd
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,14 @@ docker-compose up -d
The app runs automatically on the port defined in `SERVICE_PORT` of `.env` file (default : _3001_). 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 ## Usage
The app exposes the following [gRPC](https://grpc.io/) services : The app exposes the following [gRPC](https://grpc.io/) services :