๐Ÿ“ฆ derek-adair / docker-django-seed

A simple bootstrap app based on derekadair/python-workflow

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/derek-adair/docker-django-seed.git
HTTPS git clone https://github.com/derek-adair/docker-django-seed.git
SSH git clone git@github.com:derek-adair/docker-django-seed.git
CLI gh repo clone derek-adair/docker-django-seed
Derek Adair Derek Adair Postgres env stuff a5ae63f 2 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ nginx
๐Ÿ“ web
๐Ÿ“„ .gitignore
๐Ÿ“„ bootstrap.sh
๐Ÿ“„ docker-compose.yml
๐Ÿ“„ production.yml
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Django Development With Docker Compose

Start a django project in docker with one command
git clone git@github.com:derek-adair/docker-django-seed \
    && cd docker-django-seed \
    && ./bootstrap.sh PROJECT_NAME

You will end up in a folder docker-django-seed wherever you cloned this. This folder will contain a django app that is ready to spin up...

docker-compose up

  • Your app will be running on localhost:8000.
  • You can rename docker-django-seed to whatever you want

Usage

create a django app
comp run --rm web django-admin startapp YOUR_APP
All you need to do now is add YOUR_APP to PROJECT_NAME.settings.py