Develop and test Django applications in a portable containerized development environment.
The app files are available locally and you can edit them with the editor of your choice. All the commands are run in a container. You do not need to install Python or any of the dependencies locally.
Django-devkit uses Python 3.7 and Django 2.2.2 by default.
Postgres is included via docker-compose.
Docker and docker-compose are required. Docker must be running. Make is not required (you can run all the Docker and docker-commands without it); it is only required for easily using the shortcuts described below.
make buildThis will build the necessary container(s).
make testmake lintmake coveragemake upTo stop the app:
make downmake logscreatesuperuser:
make createsuperusermakemigrations:
make makemigrations APP=<name of app>migrate:
make migrateshell:
make shellstartproject:
make startproject PROJECT=<name of project> .startapp:
make startapp APP=<name of app>install:
make install PKG=<name of package (optionally==version)>install --dev:
make installdev PKG=<name of package (optionally==version)>uninstall:
make uninstall PKG=<name of package>