conda create python=3.10 --prefix ./venv
conda activate ./venv
pip install --upgrade
pip install Django
pip freeze >> requirements.txt
mkdir djangoapp
django-admin startproject api ./djangoapp
python djangoapp/manage.py runserver
First run.
docker-compose up --build
To other run builds, remove all containers and theis volumes, after run follow command Indicated alwayes when the Dockerfiles, docker-compose.yml and .env file was changed
docker-compose up --build --force-recreate
To run commands insed containers
docker-compose run djangoapp python manage.py startapp api_sppc
Super user Django login: admin_user psw: admin_user$#@!