From e09bc4b8d82b8a75314523942b9c12ab701d6a72 Mon Sep 17 00:00:00 2001 From: Sam Gemgee Date: Fri, 2 Mar 2018 22:31:49 +1000 Subject: [PATCH 1/2] Update README.md --- README.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 46c028c..56101a4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,26 @@ # DCPublic Public version developer community analytics. ## Installation -1. Import and compile community classes -2. Import data globals -3. Enjoy! +### Basic +1. First be sure, that you have [MDX2JSON](https://github.com/intersystems-ru/Cache-MDX2JSON) and [DSW](https://github.com/intersystems-ru/DeepSeeWeb) installed. +2. Create new namespace with **DCPUBLIC** name. +3. Enable DeepSee in namespace web-application settings. +4. Download from release and import `DCPuplic_classes*.xml` file. +5. Download from release `DCPublic_globals.gz` and run in terminal: +``` +DCPUBLIC> do ##class(Community.Utils).setup("path/to/global/archive") +``` +6. Download from release `DSW.config.and.iKnow.files.zip` and move file `dcpublic.json` from archive to `/CSP/dcpublic/configs/`. +7. Open in your browser `/dsw/index.html?ns=DCPUBLIC`. +8. Done +### With iKnow +1. Be sure, that everything listed above is installed. +2. Download from release `DSW.config.and.iKnow.files.zip` and move files `sets.txt` and `backlist.txt` from archive to `/Mgr/DCPUBLIC/`. +3. Run in terminal: +``` +DCPUBLIC> do ##class(Community.iKnow.Utils).setup() +DCPUBLIC> do ##class(Community.iKnow.Utils).update() +DCPUBLIC> do ##class(Community.Utils).UpdateСubes() +``` +4.Open iKnow dashboard:`/dsw/index.html#!/d/iKnow.dashboard?ns=DCPUBLIC` +5.Done From 21c37525cb32c78ad3cd785c75f413741b18756f Mon Sep 17 00:00:00 2001 From: Sam Gemgee Date: Fri, 2 Mar 2018 22:32:30 +1000 Subject: [PATCH 2/2] Fix README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56101a4..2a4038c 100644 --- a/README.md +++ b/README.md @@ -22,5 +22,5 @@ DCPUBLIC> do ##class(Community.iKnow.Utils).setup() DCPUBLIC> do ##class(Community.iKnow.Utils).update() DCPUBLIC> do ##class(Community.Utils).UpdateСubes() ``` -4.Open iKnow dashboard:`/dsw/index.html#!/d/iKnow.dashboard?ns=DCPUBLIC` -5.Done +4. Open iKnow dashboard:`/dsw/index.html#!/d/iKnow.dashboard?ns=DCPUBLIC` +5. Done