mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2026-02-01 22:40:45 +00:00
update readme
This commit is contained in:
@@ -28,7 +28,7 @@ A RabbitMQ instance is also required to send / receive messages when data has be
|
|||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
The app runs automatically on the port defined in `SERVICE_PORT` of `.env` file (default : _5001_).
|
The app runs automatically on port **5001**.
|
||||||
|
|
||||||
- install the dependencies :
|
- install the dependencies :
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ A RabbitMQ instance is also required to send / receive messages when data has be
|
|||||||
|
|
||||||
## Database migration
|
## Database migration
|
||||||
|
|
||||||
Before using the app, you need to launch the database migration :
|
Before using the app, you need to launch the database migration inside the container :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker exec v3-user sh -c "npx prisma migrate dev"
|
docker exec v3-user sh -c "npx prisma migrate dev"
|
||||||
|
|||||||
Reference in New Issue
Block a user