This project is divided into API/
and app
.
API directory contains
Django application,
and the APP directory contains
Next.js application.
- Docker and Docker Compose
-
Move to project root directory
-
Create
.env
usingexample.env
:cp example.env .env
-
(Optional) change the values of environment variables in
.env
file -
Start the containers:
- development mode:
docker compose up -d
- production mode:
docker compose \ -f docker-compose.yml \ -f docker-compose.production.yml \ up -d
- development mode: