Skip to content

Commit 003e157

Browse files
Evgeny ShvarovEvgeny Shvarov
Evgeny Shvarov
authored and
Evgeny Shvarov
committed
tags->tag, webterminal, links
1 parent 746335f commit 003e157

File tree

9 files changed

+34
-9
lines changed

9 files changed

+34
-9
lines changed

.vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"internalPort": 52773
1313
},
1414
"links": {
15+
"WebTerminal": "http://localhost:${port}/terminal/",
1516
"MLToolkit Demos": "http://localhost:${port}/csp/user/index.html"
1617
}
1718
}

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ SHELL ["/irissession.sh"]
2020

2121
RUN \
2222
do $SYSTEM.OBJ.Load("Installer.cls", "ck") \
23-
set sc = ##class(App.Installer).setup()
23+
set sc = ##class(App.Installer).setup() \
24+
zn "PYTHON" \
25+
zpm "install webterminal"
2426

2527
# bringing the standard shell back
2628
SHELL ["/bin/bash", "-c"]

Installer.cls

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ClassMethod BuildIndex() As %Status
3636
{
3737
Zn "PYTHON"
3838
Set tSC = ##class(Community.Post).%BuildIndices()
39-
Set tSC = ##class(Community.Tags).%BuildIndices()
39+
Set tSC = ##class(Community.Tag).%BuildIndices()
4040
Quit tSC
4141
}
4242

dev.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# useful commands
2+
## build container with no cache
3+
```
4+
docker-compose build --no-cache
5+
```
6+
## open terminal to docker
7+
```
8+
docker-compose exec iris iris session iris -U IRISAPP
9+
```
10+
## export IRIS Analytics artifacts
11+
```
12+
d ##class(dev.code).export("*.DFI")
13+
```
14+
15+
## clean up docker
16+
```
17+
docker system prune -f
18+
```
19+
20+
21+
22+
File renamed without changes.

src/cls/Community/Tags.cls src/Community/Tag.cls

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Class Community.Tags Extends %Persistent
1+
Class Community.Tag Extends %Persistent
22
{
33

44
Property Name As %String(MAXLEN = "");
@@ -9,7 +9,7 @@ Property Description As %String(MAXLEN = "");
99

1010
Storage Default
1111
{
12-
<Data name="TagsDefaultData">
12+
<Data name="TagDefaultData">
1313
<Value name="1">
1414
<Value>%%CLASSNAME</Value>
1515
</Value>
@@ -20,11 +20,11 @@ Storage Default
2020
<Value>Description</Value>
2121
</Value>
2222
</Data>
23-
<DataLocation>^Community.TagsD</DataLocation>
23+
<DataLocation>^Community.TagD</DataLocation>
2424
<DefaultData>TagsDefaultData</DefaultData>
25-
<IdLocation>^Community.TagsD</IdLocation>
26-
<IndexLocation>^Community.TagsI</IndexLocation>
27-
<StreamLocation>^Community.TagsS</StreamLocation>
25+
<IdLocation>^Community.TagD</IdLocation>
26+
<IndexLocation>^Community.TagI</IndexLocation>
27+
<StreamLocation>^Community.TagS</StreamLocation>
2828
<Type>%Storage.Persistent</Type>
2929
}
3030

File renamed without changes.

src/gbl/Community/Tags.xml src/gbl/Community/Tag.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Export generator="IRIS" version="26" zv="IRIS for Windows (x86-64) 2020.1 (Build 214U)" ts="2020-06-30 18:05:04">
33
<Global>
4-
<Node><Sub>^Community.TagsD</Sub>
4+
<Node><Sub>^Community.TagD</Sub>
55
<Node><Sub>.NET</Sub>
66
<DataBase64>AgEGAS5ORVS9AU5FVCBGcmFtZXdvcmsgKHByb25vdW5jZWQgZG90IG5ldCkgaXMgYSBzb2Z0d2Fy
77
ZSBmcmFtZXdvcmsgZGV2ZWxvcGVkIGJ5IE1pY3Jvc29mdCB0aGF0IHJ1bnMgcHJpbWFyaWx5IG9u

0 commit comments

Comments
 (0)