Prof of concept project with Microsoft SQL Server and Django Framework setup on docker containers.
- 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 - run
docker-compose run web python manage.py migrate
to apply migrations. Important! all migrations will go to master database unless you create new database and update settings.py files - run
docker-compose run web python manage.py createsuperuser
to create admin account
- run
docker-compose up web
- point your browser to
localhost:8080
- press
CTRL+C
to stop
- sudo docker-compose run db sqlcmd -S db1.internal.prod.example.com -U SA -P 'Alaska2017' -Q 'select 1'