-
Notifications
You must be signed in to change notification settings - Fork 4
/
iris.script
executable file
·32 lines (21 loc) · 1.04 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
// 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)
// install IPM
s 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 all the code of the project as a ZPM package
zn "USER"
zpm "install isc-dev"
;zpm "install dsw"
do ##class(dev.code).workdir("/home/irisowner/irisdev/src")
zpm "install git-source-control"
do ##class(%Studio.SourceControl.Interface).SourceControlClassSet("SourceControl.Git.Extension")
zpm "load /home/irisowner/irisdev/ -v":1
zn "%SYS"
zpm "install passwordless"
halt