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

๐Ÿ“„ README.md ยท 25 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25## 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`