We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Run this script to simplify creating new Django projects!
#!/bin/bash if [ "$1" == "" ]; then echo "Please provide a project name" else projectname=$1 mkdir $projectname cd $projectname pipenv install django~=2.2 . $(pipenv --venv)/bin/activate rm -f Pipfile django-admin.py startproject --template=https://github.com/RadialDevGroup/heroku-django-template/archive/Django-2.2.zip --name=Procfile --name settings.yml --name settings.yml.example $projectname . deactivate pipenv install --dev echo "Great Success!" echo "Created new Django project. \`cd $1\` and use \`pipenv shell\` to run your manage.py commands" fi
Install it to someplace in your $PATH so you can run it just by typing django_new <projectname> by:
$PATH
django_new <projectname>
sudo install path/to/django_new.sh /usr/local/bin/django_new