django-create-project

This commit is contained in:
thek4n 2025-05-01 00:42:41 +03:00
parent b6f366f7d2
commit 370ec5fcd9

View File

@ -11,6 +11,10 @@ cd "${project_name}"
python3 -m virtualenv venv python3 -m virtualenv venv
#shellcheck disable=SC1091 #shellcheck disable=SC1091
. venv/bin/activate . venv/bin/activate
pip install django pip install django django-types
django-admin startproject core . django-admin startproject core .
git init git init
mkdir requirements
echo 'django' > requirements/prod.txt
echo '-r prod.txt' > requirements/dev.txt
echo 'django-types' >> requirements/dev.txt