Skip to content

markschoate/django-docker-base

Repository files navigation

Build the Image

docker build -t djangoapp .

Launch the Containers

docker-compose up

Django Commands

These additional commands are needed to run data migrations and to create a user for the applicaiton.

Run migrations and exit.

docker-compose exec djangoapp python manage.py migrate

Note: the use of run allows you to have an interactive session while creating the superuser.

docker-compose run djangoapp python manage.py createsuperuser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published