From 45b91e1a0ec3eea6305b7164057ed82845b5a8bb Mon Sep 17 00:00:00 2001 From: Avi Flax Date: Sun, 4 Dec 2022 11:35:33 -0500 Subject: Tweak Contributing docs to help people run the tests --- docs/contributing.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index 49e53ed..46002bf 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -54,11 +54,17 @@ Then start the ``compose`` session:: At this point, you should be able to see the Web UI at http://localhost:8000 -Once your session is up and running, you can make yourself a superuser account:: +Once your session is up and running, you can: + +…make yourself a superuser account:: docker compose -f docker/docker-compose.yml exec web python3 manage.py createsuperuser -And you can run the tests inside your container:: +…install the test dependencies inside your container:: + + docker compose -f docker/docker-compose.yml exec web pip install -r requirements-dev.txt + +…run the tests inside your container:: docker compose -f docker/docker-compose.yml exec web pytest -- cgit v1.2.3