CONFETTI
The way to start a django project with docker
Technology Stack
- Docker v17.04
- Docker-compose v1.21
- Django v2.0
Getting Started
-
First of all clone this git repository to your local machine.
-
Install
dockeranddocker-composeusing official documentation. -
Add user to the docker group to run commands without sudo
sudo usermod -aG docker $USER
- Go to the project directory and run
docker-compose up
- Create django superuser in the container
docker exec -it web bash
python manage.py createsuperuser
Happy coding
