generated from intersystems-community/objectscript-docker-template
-
Notifications
You must be signed in to change notification settings - Fork 13
/
iris.script
executable file
·27 lines (20 loc) · 969 Bytes
/
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
zn "%SYS"
// Unexpire passwords and set up passwordless mode to simplify dev use.
// ** Comment out these two line for Production use **
do ##class(Security.Users).UnExpireUserPasswords("*")
zpm "install passwordless"
// Enable 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/dev/App.Installer.cls", "ck")
set sc = ##class(App.Installer).setup()
zn "IRISAPP"
// Create /_vscode web app to support intersystems-community.testingmanager VS Code extension
zpm "install vscode-per-namespace-settings"
// Configure %UnitTest in IRISAPP to suit the VS Code extension
set ^UnitTestRoot="/usr/irissys/.vscode/IRISAPP/UnitTestRoot"
zpm "load /home/irisowner/dev/ -v":1:1
halt