@@ -24,6 +24,16 @@ If it is not installed, type:
2424$ pip install tox
2525```
2626
27+ ### Using the demo project
28+
29+ You can use the ` demo ` project as you would any other Django project by running ` $ tox -e serve ` .
30+ This creates a separate ` tox ` environment and executes the ` runserver ` command using the development settings.
31+ If you want to pass additional arguments, e.g. your custom settings, use the following syntax:
32+
33+ ``` bash
34+ $ tox -e serve -- --settings=demo.settings.dev-custom
35+ ```
36+
2737## Testing
2838
2939To run the test suite against current virtual environment run the ` pytest ` while adding the ` src ` directory to ` PYTHONPATH ` :
@@ -85,10 +95,10 @@ The documentation should be available in `/html/index.html`.
8595
8696The CI environment should build packages and upload them to the PyPI server
8797when a tag is pushed to ` origin ` . Therefore, if you want to make a new release,
88- all you have to do is execute the ` make- release` environment in ` tox ` :
98+ all you have to do is execute the ` release ` environment in ` tox ` :
8999
90100``` bash
91- $ tox -e make- release
101+ $ tox -e release
92102```
93103
94104This environment will merge the changelogs from the ` changelog.d ` directory
@@ -99,7 +109,7 @@ changes, create a tag and push the changes and the tags to `origin`.
99109If you want to make a ** patch** release, type:
100110
101111``` bash
102- $ tox -e make- release -- patch
112+ $ tox -e release -- patch
103113```
104114
105115If Travis CI builds were successful release should be automatically uploaded to PyPI.org.
0 commit comments