docs: Improve analytics onboarding documentation.

Tweaked by tabbott to reorganize the text a bit.
This commit is contained in:
Kiran Shahdadpuri 2017-09-25 06:23:30 -07:00 committed by Tim Abbott
parent 163da73d2d
commit 3776e73db4
1 changed files with 9 additions and 3 deletions

View File

@ -161,9 +161,15 @@ statistics, etc.). There is currently a reference implementation of a
### Setup and Testing
The main testing approach for the /stats page UI is manual testing. For UI
testing, you want a comprehensive initial data set; you can use `manage.py
populate_analytics_db` to set up, login as the shylock user, and then go to
/stats.
testing, you want a comprehensive initial data set. You can create
one by using the `./manage.py populate_analytics_db` command from the
main `zulip` directory inside your development environment.
Then, in the development server web UI, (logout if needed) and then
login as the "shylock@analytics.ds" user; note that user's Zulip UI
will be a bit broken, since it doesn't have other data populated
properly. Finally, go to /stats to see the graphs with the
prepopulated data.
### Adding or editing /stats graphs