feat: initialize database with demo data on first run and update README
This commit is contained in:
@@ -178,6 +178,15 @@ PowerShell / Bash
|
||||
|
||||
docker compose up --build
|
||||
|
||||
This starts all services (Postgres, Redis, backend, frontend) and automatically initializes the database with demo data on first run. The backend waits for the database to be ready before running migrations and loading OSM fixtures.
|
||||
|
||||
**Services:**
|
||||
|
||||
- Backend API: `http://localhost:8000`
|
||||
- Frontend: `http://localhost:8080`
|
||||
- Postgres: `localhost:5432`
|
||||
- Redis: `localhost:6379`
|
||||
|
||||
This expects a working Docker environment and may require you to set DB URLs to point to the containerized Postgres service if one is defined in `docker-compose.yml`.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Reference in New Issue
Block a user