update README instructions

This commit is contained in:
Tao Bror Bojlén 2019-02-20 17:29:02 +00:00
parent 55928e137e
commit 658f055816
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
1 changed files with 5 additions and 2 deletions

View File

@ -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`.