-
Notifications
You must be signed in to change notification settings - Fork 0
/
iris.script
37 lines (26 loc) · 1.33 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
30
31
32
33
34
35
36
37
// unexpire passwords for dev mode
new $namespace
set $namespace = "%SYS"
do ##class(Security.Users).UnExpireUserPasswords("*")
// install zpm
set r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")
// load installer
do $SYSTEM.OBJ.Load("/opt/irisapp/Installer.cls", "ck")
// create INTEROP namespace
set $namespace = "HSLIB"
do ##class(HS.Util.Installer.Foundation).Install("INTEROP")
// load code
set $namespace = "INTEROP"
do $SYSTEM.OBJ.LoadDir("/opt/irisapp/install/HL7", "ck", ,1)
do $SYSTEM.OBJ.LoadDir("/opt/irisapp/install/Loan", "ck", ,1)
do $system.OBJ.Load("/opt/irisapp/install/Loan/latest/csp/app/DemoLoanForm.csp", "ck")
do $system.OBJ.Load("/opt/irisapp/install/Loan/latest/csp/app/DemoLoanSubmit.csp", "ck")
do $system.OBJ.Load("/opt/irisapp/install/Credentials.xml")
do $system.OBJ.Load("/opt/irisapp/install/ServiceRegistry.xml")
do $SYSTEM.OBJ.LoadDir("/opt/irisapp/src", "ck", .errorlog, 1)
// install webterminal
zpm "install webterminal"
// create FHIRREPO namespace
set $namespace = "HSLIB"
do ##class(HS.Util.Installer.Foundation).Install("FHIRREPO")
halt