django-create-project
This commit is contained in:
parent
b6f366f7d2
commit
370ec5fcd9
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user