Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 683 Bytes

README_start.md

File metadata and controls

46 lines (30 loc) · 683 Bytes

5.Start the Server

Start the server (local development):

docker-compose up --build -d

Initialize the database:

docker-compose exec backend python -m app.init_db

Access:

Service URL
Frontend http://localhost:3000
Backend API http://localhost:8081

The backend automatically reloads when source code changes.

Production Environment

Run:

docker-compose -f docker-compose.prod.yml up -d

Then initialize the database:

docker-compose exec backend python -m app.init_db

Stop the Server

Stop and remove containers:

docker-compose down

Database are saved in ./database.