Hmmmmm... What I should write here? Maybe "Hello World".
Hello World
Build Docker compose:
-
sudo docker-compose build
Run Docker compose:
-
sudo docker-compose up -d
Makes migration for Django:
-
sudo docker-compose run django python manage.py migrate
-
sudo docker-compose run django python manage.py makemigrations
-
sudo docker-compose run django python manage.py createsuperuser
Load db dump
-
sudo docker-compose run django python manage.py loaddata /dumps/db.json
Create db dump #FIXME
-
sudo docker-compose run django python manage.py dumpdata > /dumps/db.json