From 409c99a21ecfb1f13c78aa439af70deaad085c27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20Vysko=C4=8Dil?= <vyskocilpavel@muni.cz>
Date: Wed, 27 Sep 2017 12:56:30 +0200
Subject: [PATCH] Add a guide how to set the database

---
 README.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/README.md b/README.md
index be46d26..8b98b73 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,14 @@
 # proxystatistics-simplesamlphp-module
 Module for simpleSAMLphp which shows Proxy IdP/SP statistics
+
+Guide for use module statistic
+1. Install MySQL Database and create database for statistics and user. 
+2. For this database run script to create tables. Script is available in config-templates/tables.sql
+3. Copy config-templates/module_statisticsproxy.php to your folder vith config and filled it.
+4. Add following to authproc in file saml20-idp-hosted.php:
+
+      XX => array(
+                                'class' => 'proxystatistics:statistics',
+                                'config' => array (),
+                        ),
+  where XX is number(for example 50; Must not be used for other modules)
-- 
GitLab