forked from MakarovS96/dc-analytics-proto
-
Notifications
You must be signed in to change notification settings - Fork 9
/
iris.script
29 lines (25 loc) · 1.21 KB
/
iris.script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
; Set ViewsLoad=False if you are not going to build Views and ViewsHistory cubes.
; Set something else if you are going to build them (can take approx 15 minutes of container building).
do $SYSTEM.OBJ.Load("/opt/dcanalytics/Installer.cls", "ck")
set sc = ##class(App.Installer).setup()
set ViewsLoad = "True"
DO DISABLE^%NOJRN
zn "DCANALYTICS"
do $SYSTEM.OBJ.Load("/opt/dcanalytics/src/inc/Community.inc", "ck")
do $SYSTEM.OBJ.LoadDir("/opt/dcanalytics/src/utils", "ck")
do $System.OBJ.LoadDir("/opt/dcanalytics/src/","ck",,1)
zpm "install dsw"
zpm "install isc-dev"
zpm "install webterminal"
do ##class(dev.code).workdir("/irisdev/app/src")
do EnableDeepSee^%SYS.cspServer("/csp/dcanalytics/")
do ##class(Community.Utils).setup("/opt/dcanalytics/globals.xml",100000, ViewsLoad)
do ##class(dev.bi).checkPivots()
zn "%SYS"
Do ##class(Security.Users).UnExpireUserPasswords("*")
set webName = "/mdx2json"
set webProperties("AutheEnabled") = 64
set webProperties("MatchRoles")=":%DB_DCANALYTICS"
do ##class(Security.Users).AddRoles("UnknownUser", "%ALL")
set sc = ##class(Security.Applications).Modify(webName, .webProperties)
halt