|
1 | | - // Unexpire passwords to simplify dev mode. Comment these two lines for Production use |
2 | 1 | zn "%SYS" |
3 | | - Do ##class(Security.Users).UnExpireUserPasswords("*") |
4 | 2 |
|
5 | | - ; enabling callin for Embedded Python |
| 3 | + // Unexpire passwords and set up passwordless mode to simplify dev use. |
| 4 | + // ** Comment out these two line for Production use ** |
| 5 | + do ##class(Security.Users).UnExpireUserPasswords("*") |
| 6 | + zpm "install passwordless" |
| 7 | + |
| 8 | + // Enable callin for Embedded Python |
6 | 9 | do ##class(Security.Services).Get("%Service_CallIn",.prop) |
7 | 10 | set prop("Enabled")=1 |
8 | 11 | set prop("AutheEnabled")=48 |
|
12 | 15 | do $SYSTEM.OBJ.Load("/home/irisowner/dev/Installer.cls", "ck") |
13 | 16 | set sc = ##class(App.Installer).setup() |
14 | 17 |
|
15 | | - // create /_vscode web app to support intersystems-community.testingmanager VS Code extension |
16 | | - kill prop |
17 | | - set prop("AutheEnabled")=32 |
18 | | - set prop("AutoCompile")=0 |
19 | | - set prop("Description")="Storage for VS Code namespace-specific settings, snippets, debug configurations etc." |
20 | | - set prop("NameSpace")="%SYS" |
21 | | - set prop("Path")="/usr/irissys/.vscode" |
22 | | - set sc=##class(Security.Applications).Create("/_vscode",.prop) |
| 18 | + zn "IRISAPP" |
23 | 19 |
|
24 | | - // Configure %UnitTest in IRISAPP to suit the VS Code extension |
25 | | - set ^|"IRISAPP"|UnitTestRoot=prop("Path")_"/IRISAPP/UnitTestRoot" |
| 20 | + // Create /_vscode web app to support intersystems-community.testingmanager VS Code extension |
| 21 | + zpm "install vscode-per-namespace-settings" |
26 | 22 |
|
27 | | - // comment the line below for production images |
28 | | - zpm "install passwordless" |
29 | | - // load all the code of the project as a ZPM package |
30 | | - zn "IRISAPP" |
| 23 | + // Configure %UnitTest in IRISAPP to suit the VS Code extension |
| 24 | + set ^UnitTestRoot="/usr/irissys/.vscode/IRISAPP/UnitTestRoot" |
31 | 25 |
|
32 | 26 | zpm "load /home/irisowner/dev/ -v":1:1 |
33 | 27 | halt |
0 commit comments