You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/development-frameworks/SqlServerOnDocker/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ Prof of concept project with Microsoft SQL Server and Django Framework setup on
4
4
## To start development:
5
5
1. install [docker](https://docs.docker.com/#/components) and [docker-compose](https://docs.docker.com/compose/install/)
6
6
2. clone this repository
7
-
2. run `docker-compose build db` to build web container
7
+
2. run `docker-compose build db` to build db container
8
8
2. sudo docker-compose run db sqlcmd -S db1.internal.prod.example.com -U SA -P 'Alaska2017' -Q 'create database docker2;'
9
9
3. run `docker-compose up web` to test web and db containers
10
-
5. 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**
11
-
6. run `docker-compose run web python manage.py createsuperuser` to create admin account
10
+
5. run `docker-compose run web python3 manage.py migrate` to apply migrations. **Important! all migrations will go to master database unless you create new database and update settings.py files**
11
+
6. run `docker-compose run web python3 manage.py createsuperuser` to create admin account
0 commit comments