-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
steve
authored and
Steve Lamb
committed
Jan 22, 2016
1 parent
9ffb68d
commit 70af693
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
contributing | ||
------------ | ||
|
||
in order for a pull request to be merged, please make sure it meets the following criteria: | ||
|
||
1. all unit tests pass for all supported versions of python and django. | ||
2. every newly added line of code is exercised by at least one unit test. | ||
3. all code is compliant with PEP8 style conventions. | ||
|
||
|
||
development setup | ||
----------------- | ||
to setup a development environment, run the following commands:: | ||
|
||
$ pip install -r dev_requirements.txt | ||
|
||
|
||
unit testing | ||
------------ | ||
|
||
to run the unit tests, run the following commands:: | ||
|
||
$ cd test_app | ||
$ python manage.py test | ||
|
||
|
||
demo testing | ||
------------ | ||
|
||
to ensure the app behaves as expected, run the following:: | ||
|
||
$ cd test_app | ||
$ python manage.py runserver | ||
|
||
then, visit ``http://localhost:8000/`` in your browser and confirm it produces a valid CSV. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters