- install docker and docker-compose
- clone this repository
- run
docker-compose build
to build web container - run
docker-compose up web
to test web and db containers sudo docker exec -it ordering_test_web_1 "bash"
python3 manage.py migrate
python3 manage.py createsuperuser
- run
docker-compose up web
- point your browser to
localhost:8000
- press
CTRL+C
to stop
- sudo docker-compose run db sqlcmd -S db1.internal.prod.example.com -U SA -P 'Alaska2017' -Q 'select 1'