aboutsummaryrefslogtreecommitdiff
path: root/docs/development
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-06-13 11:06:20 +0100
committerStephen Finucane <stephen@that.guru>2017-06-14 09:34:31 +0100
commit319a2a724cb1012b93f3a30ea7a574897ba817ad (patch)
tree3fa59a54250aa63142fbc988fe791c3a2cc5e3db /docs/development
parentb6f29be0299cd9ace85ca3cd5c512478c02e4a33 (diff)
downloadpatchwork-319a2a724cb1012b93f3a30ea7a574897ba817ad.tar
patchwork-319a2a724cb1012b93f3a30ea7a574897ba817ad.tar.gz
docs: Document how to access SQL console
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs/development')
-rw-r--r--docs/development/installation.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/development/installation.rst b/docs/development/installation.rst
index d73bb8b..70d3145 100644
--- a/docs/development/installation.rst
+++ b/docs/development/installation.rst
@@ -47,6 +47,12 @@ To run `django-manage` commands, such as `createsuperuser` or `migrate`, run:
$ docker-compose run --rm web python manage.py createsuperuser
+To access the SQL command-line client, run:
+
+.. code-block:: shell
+
+ $ docker-compose run --rm web python manage.py dbshell
+
To run unit tests, excluding Selenium UI interaction tests, using only the
package versions installed during container initialization, run: