doc: update readme
This commit is contained in:
@@ -51,7 +51,7 @@ EMAIL_FROM=admin@example.com
|
|||||||
### Frontend (`frontend/.env`)
|
### Frontend (`frontend/.env`)
|
||||||
|
|
||||||
```env
|
```env
|
||||||
VITE_API_BASE_URL=http://localhost:5000
|
VITE_API_URL=http://localhost:5000/api
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -64,6 +64,13 @@ VITE_API_BASE_URL=http://localhost:5000
|
|||||||
docker compose -f docker-compose.dev.yml up --build
|
docker compose -f docker-compose.dev.yml up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Create User
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker exec -it gg-backend-api-backend-1 node src/utils/createUser.js <name> <password> <role>
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Stop containers
|
### Stop containers
|
||||||
|
|||||||
Reference in New Issue
Block a user