Skip to content

eugeneotieno/django-docker-dev-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-docker-dev-app

Docker development environment for Django app

  1. Clone the app

  2. cd into the project

In terminal: 3. $ docker build .

  1. $ docker-compose build

  2. $ docker-compose run ddda sh -c “django-admin.py startproject app .”

  3. $docker-compose up

Then visit http://localhost:8000/

  1. $ docker-compose exec ddda python manage.py migrate

From now onwards you will run django commands as the above command, adding your command after the service name ddda.

That’s it for now. I know it I simple and there are a lot of features we have not covered like database but this is a start!

About

Docker development environment for Django app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors