You should have Docker+Docker-compose installed
Preparations
You should have Docker+Docker-compose installed.
All commands made from insta_api folder
First launch
docker-compose up --build
docker-compose run django python manage.py migrate
docker-compose run django python manage.py makemigrations api
docker-compose run django python manage.py migrate
docker-compose run django python manage.py createsuperuser
To launch/exit
Postgres
docker exec -it pgdb psql -U postgres