Skip to content

Commit 4976990

Browse files
author
EL BADOURI Youssef
committed
updated the docker compose and the readme
1 parent 53d0bf5 commit 4976990

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

README.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,37 @@ Before you begin, ensure you have met the following requirements:
9393
## Usage
9494

9595

96-
1. **Start the full application:**
97-
```bash
98-
docker compose up -d --build
9996

100-
```
97+
## Start the full application (backend, frontend, and database) with:
98+
99+
1) Build the application
100+
101+
```bash
102+
docker compose build
103+
```
104+
105+
106+
2. Run the application
107+
108+
```bash
109+
docker compose up -d
110+
```
111+
112+
113+
3. View logs (Postgres)
114+
115+
```bash
116+
docker compose logs -f postgres
117+
```
118+
4. View logs (Backend)
119+
120+
```bash
121+
docker compose logs -f backend
122+
```
123+
124+
101125

102-
2. **Access the application**
126+
**Access the application**
103127
- Frontend: `http://localhost:3000`
104128
- API: `http://localhost:5000`
105129

0 commit comments

Comments
 (0)