Skip to content

Commit

Permalink
#4228 First version of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandru-m-g committed Jun 22, 2016
1 parent cde5aa7 commit 826ad8a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ckanext-hdx_theme/docs/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
HDX DOCUMENTATION
=================

ANALYTICS
---------
Information about how we collect analytics information cane be found here `Analytics Documentation <analytics/index.rst>`_
20 changes: 20 additions & 0 deletions ckanext-hdx_theme/docs/analytics/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ANALYTICS IN HDX
================

Useful information about HDX and Mixpanel
-----------------------------------------
There will be 3 mixpanel projects:

#. For the production server
#. For the testing/feature servers
#. For local servers running on dev's computers


Setup steps
-----------

#. The **mixpanel token** needs to be setup in prod.ini under :code:`hdx.analytics.mixpanel.token`
#. The **gislayer** needs to be setup with the latest code. It's dependencies were updated as well ( *requirements.txt* )

* | there is a new queue for processing analytics requests called **analytics_q**. So we need a rq worker listening on it.
We can either use a separate worker for each queue or workers that listen on both queues.

0 comments on commit 826ad8a

Please sign in to comment.