pip install cookiecutter
cookiecutter https://github.com/mojtabaakbari221b/django-cookiecutter
create your env file and put your desired values instead of default:
cp .envs/.env.sample .envs/.env
After creating the virtual environment, install the requirements :
pip install -r requirements/development.txt # for development
pip install -r requirements/production.txt # for production
run migration :
./manage.py migrate
./manage.py runserver --settings configs.django.development
./manage.py runserver --settings configs.django.production
DJANGO_SETTINGS_MODULE=configs.django.production gunicorn configs.wsgi:application --bind 0.0.0.0:8000 --workers 3
docker-compose -p local -f compose/local.yml up --build -d