Bootstrapped Django application dockerized with the following features:
- Django 2.0
- Postgres
- SMTP server
- Gentelella Boostrap admin template
Install Docker and docker-compose.
sudo apt-get install docker.io docker-compose
Run setup.sh to create an email account for the SMTP server
Run docker-compose up --build to start the containers.
To create migrations, run the command
docker-compose exec web python portal/manage.py makemigrations
To apply the migrations, run the command
docker-compose exec web python portal/manage.py migrate