From 826ad8a5d0390cc4fe48502f3ec64b5d832e8361 Mon Sep 17 00:00:00 2001 From: alexandru-m-g Date: Wed, 22 Jun 2016 18:03:40 +0300 Subject: [PATCH] #4228 First version of documentation --- ckanext-hdx_theme/docs/README.rst | 6 ++++++ ckanext-hdx_theme/docs/analytics/index.rst | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 ckanext-hdx_theme/docs/README.rst create mode 100644 ckanext-hdx_theme/docs/analytics/index.rst diff --git a/ckanext-hdx_theme/docs/README.rst b/ckanext-hdx_theme/docs/README.rst new file mode 100644 index 0000000000..843e849ca4 --- /dev/null +++ b/ckanext-hdx_theme/docs/README.rst @@ -0,0 +1,6 @@ +HDX DOCUMENTATION +================= + +ANALYTICS +--------- +Information about how we collect analytics information cane be found here `Analytics Documentation `_ \ No newline at end of file diff --git a/ckanext-hdx_theme/docs/analytics/index.rst b/ckanext-hdx_theme/docs/analytics/index.rst new file mode 100644 index 0000000000..67b00a3302 --- /dev/null +++ b/ckanext-hdx_theme/docs/analytics/index.rst @@ -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.