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: CONTRIBUTING.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,39 @@
2
2
3
3
## How to contribute
4
4
5
+
### Run unit tests
6
+
After changes made to the project, it's a good idea to run the unit tests before making a pull request.
7
+
8
+
9
+
1.**Run SQL Server**
10
+
Make sure you have SQL Server running in your local machine.
11
+
Download and install SQL Server [here](https://www.microsoft.com/en-us/sql-server/sql-server-downloads), or you could use docker. Change `testapp/settings.py` to match your SQL Server login username and password.
12
+
13
+
```
14
+
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=MyPassword42' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-latest
15
+
```
16
+
2.**Clone Django**
17
+
In `mssql-django` folder.
18
+
```
19
+
# Install your local mssql-django
20
+
pip install -e .
21
+
22
+
# The unit test suite are in `Django` folder, so we need to clone it
0 commit comments