Running your Django application and Nginx proxy inside of Docker containers ensures that these components behave the same way regardless of the environment they are deployed into.
- Using Python 3.8, run
python -m venv env
to create a virtual environment - Run
pip install -r requirements.txt
to install dependencies - Run
cd app/
to change toapp/
- Run
python manage.py runserver
to start development server