Skip to main content

CLI tool to automate initialization of Django project

Project description

Even though I rarely create new django apps from scratch, I still don’t like initial procedure of creating it, too much steps that can be automated. So I created this script to make the process easier.

What this script does:

  • Creates Django project

  • Creates corresponding apps

  • Creates initial virtualenv (venv)

  • Installs provided dependencies

  • Creates initial requirements.txt

  • Initializes git repository

  • Runs initial migration (using sqlitedb)

  • Creates superuser

  • Shows created application in browser

Download and run the script:

You can download it via wget/curl/whatever you prefer:

curl -O https://raw.githubusercontent.com/arsenlosenko/create-django-app/master/create-django-app.sh

After that give it executable permission:

chmod +x create-django-app.sh

And run it:

./create-django-app.sh -d foo_project -a 'foo_app bar_app' -d 'requests'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create-django-app-0.0.8.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page