Django app for example.
- Copy and edit
config/local_settings.py.dist
toconfig/local_settings.py
- Apply database migrations
./manage.py migrate
- Create superuser for admin UI
./manage.py createsuperuser
- Run development web-server
./manage.py runserver
- Open http://localhost:8000
- Create docker machine
docker-machine create -d virtualbox shtxtdjapp.local
- Activate docker machine
eval $(docker-machine env shtxtdjapp.local)
- Up docker compose
docker-comppose up -d --build
- Resolve docker-machine ip-address
docker-machine ip shtxtdjapp.local
- Open http://docker-machine-ip