generated from intersystems-community/intersystems-iris-dev-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathiris.script
More file actions
executable file
·24 lines (19 loc) · 851 Bytes
/
iris.script
File metadata and controls
executable file
·24 lines (19 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Unexpire passwords to simplify dev mode. Comment these two lines for Production use
zn "%SYS"
Do ##class(Security.Users).UnExpireUserPasswords("*")
; enabling callin for Embedded Python
do ##class(Security.Services).Get("%Service_CallIn",.prop)
set prop("Enabled")=1
set prop("AutheEnabled")=48
do ##class(Security.Services).Modify("%Service_CallIn",.prop)
// create IRISAPP namespace
do $SYSTEM.OBJ.Load("/home/irisowner/irisdev/Installer.cls", "ck")
set sc = ##class(App.Installer).setup()
// load all the code of the project as a ZPM package
zn "IRISAPP"
zpm "install swagger-ui"
zpm "install webterminal"
zpm "install isc-apptools-lockdown"
zpm "load /home/irisowner/irisdev/ -v":1:1
;zpm "load /home/irisowner/irisdev/ -Dzpm.passwordEnabled=0 -v":1:1
halt