Browse Source
Merge pull request #215 from CatalystCode/enhancement/document-how-to-run-tests
Enhancement/Document how to run tests
pull/219/head
Hiroki Nakayama
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
README.md
|
@ -150,6 +150,12 @@ Next we need to create a user who can login to the admin site. Run the following |
|
|
python manage.py create_admin --noinput --username "admin" --email "admin@example.com" --password "password" |
|
|
python manage.py create_admin --noinput --username "admin" --email "admin@example.com" --password "password" |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
Developers can also validate that the project works as expected by running the tests: |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
|
python manage.py test server.tests |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
Finally, to start the server, run the following command: |
|
|
Finally, to start the server, run the following command: |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|