This commit is contained in:
Meet Bhagdev 2015-09-23 13:24:15 -07:00
Родитель 66c5cf8d34
Коммит 7b62ef0955
1 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -28,6 +28,7 @@ d) django-pymssql
2. Git clone this project
`git clone https://github.com/Azure/azure-sql-database-samples.git`
``
3. cd into the django folder
@ -36,6 +37,7 @@ d) django-pymssql
4. Run setup.py
`python setup.py servername datbasename username password`
``
5. Edit settings.py with your database settings. Replace the sqllite settings to this one
@ -50,16 +52,16 @@ d) django-pymssql
'PASSWORD': 'avengersA1',
'OPTIONS': {
# ...
},
},
}
},
},
}
6. Run Django migrations
From your project folder where manage.py is located run the following:
python manage.py migrate
python manage.py migrate
7. Run your django app
python manage.py runserver
python manage.py runserver