Skip to content

Commit 369a71f

Browse files
committed
updated README
1 parent 02f64ee commit 369a71f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,36 @@ $ python manage.py test
3434
$ python manage.py runserver
3535
```
3636

37+
load fixtures
38+
```sh
39+
$ python manage.py loaddata .\fixtures\available_geography.json
40+
$ python manage.py loaddata .\fixtures\pathogens.json
41+
$ python manage.py loaddata .\fixtures\signal_categories.json
42+
$ python manage.py loaddata .\fixtures\signal_types.json
43+
```
44+
45+
if you need test coverage
46+
47+
```sh
48+
$ coverage erase
49+
$ coverage python manage.py test
50+
$ coverage report
51+
```
52+
53+
you can also get test coverage with one command
54+
```sh
55+
$ coverage erase && coverage run manage.py test && coverage report
56+
```
57+
58+
sort imports
59+
```sh
60+
$ isort .
61+
```
62+
check flake
63+
```sh
64+
$ flake8 --show-source
65+
```
66+
3767
### To run via docker
3868

3969
Install `Docker` and `docker-compose`

0 commit comments

Comments
 (0)