Follow these steps to run the project :
- Clone the repository
- Go to the api folder
cd api - Copy the
.env-lan-examplefile to.env.lancp .env-lan-example .env.lan
- Generate a secret key
python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())" - In the
.env.lanfile, set theSECRET_KEYvariable to the generated secret key (prefix it withdjango-insecure-if used for development)SECRET_KEY=django-insecure-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- In the
.env.lanfile, add your local IP address to the indicated variables, also replace any other IP address that is not the loopback address - Go to the frontend folder
cd ../frontend - Copy the
.env-lan-examplefile to.env.lancp .env-lan-example .env.lan
- In the
.env.lanfile, add your local IP address to the indicated variables, also replace any other IP address that is not the loopback address - Go back to the root folder
cd .. - Run the Docker containers
docker-compose up -d --build