diff options
-rw-r--r-- | docs/development/installation.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/development/installation.md b/docs/development/installation.md index cfcc63a..90e8a11 100644 --- a/docs/development/installation.md +++ b/docs/development/installation.md @@ -31,6 +31,10 @@ To run a shell within this environment, run: $ docker-compose run --rm web --shell +To run django-manage commands, such as `createsuperuser` or `migrate`, run: + + $ docker-compose run --rm web python manage.py createsuperuser + To run unit tests, excluding Selenium UI interaction tests, using only the package versions installed during container initialization, run: @@ -40,6 +44,11 @@ To run the same against all supported versions of Django (via tox), run: $ docker-compose run --rm web --quick-tox +To run specific tox targets or tests, pass arguments to the above: + + $ docker-compose run --rm web --quick-tox -e py27-django17 \ + patchwork.tests.test_bundles + To run all tests, including Selenium UI interaction tests, using only the package versions installed container initialization, run: |