updated readme

This commit is contained in:
liquidrinu 2025-05-15 18:05:03 +02:00
parent 8d952febf0
commit ad0df04535

@ -26,27 +26,16 @@ The PostgreSQL database must always run in Docker, regardless of your developmen
To start the database: To start the database:
```bash ```bash
docker-compose -f docker-compose.dev.yml up db docker-compose up db
``` ```
### Option 1: Running Everything in Docker (Recommended for Development) ### Running Services Separately (Recommended for Development)
1. **Start the Development Environment** For better debugging experience, run the frontend and backend in separate terminal windows, while keeping the database in Docker:
```bash
docker-compose -f docker-compose.dev.yml up
```
This will start:
- Frontend on http://localhost:3000
- Backend on http://localhost:14000
- PostgreSQL database on port 19090
### Option 2: Running Services Separately (Recommended for Debugging)
For better debugging experience, you can run the frontend and backend in separate terminal windows, while keeping the database in Docker:
1. **First, ensure the database is running in Docker** 1. **First, ensure the database is running in Docker**
```bash ```bash
docker-compose -f docker-compose.dev.yml up db docker-compose up db
``` ```
2. **Then, in separate terminal windows:** 2. **Then, in separate terminal windows:**