From 658f0558162c695f2a924abc72415e81b4a5fe84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tao=20Bror=20Bojl=C3=A9n?= Date: Wed, 20 Feb 2019 17:29:02 +0000 Subject: [PATCH] update README instructions --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 75017ea..f90d8a5 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,11 @@ The map of the fediverse that you always wanted. ## Commands ### Backend -- `python manage.py scrape` scrapes the entire fediverse -- `python manage.py build_graph` uses this information to lay out a graph + +After running the backend in Docker: + +- `docker-compose exec web python manage.py scrape` scrapes the entire fediverse +- `docker-compose exec web python manage.py build_graph` uses this information to lay out a graph To run in production, use `docker-compose -f docker-compose.yml -f docker-compose.production.yml` instead of just `docker-compose`.