1
1
# useful commands
2
- ## clean up docker
2
+ ## clean up docker
3
3
use it when docker says "There is no space left on device". It will remove built but not used images and other temporary files.
4
4
```
5
5
docker system prune -f
@@ -54,7 +54,7 @@ repo -r -n registry -url https://pm.community.intersystems.com/
54
54
55
55
## export a global in runtime into the repo
56
56
```
57
- d $System.OBJ.Export("GlobalD.GBL","/irisrun/repo /src/gbl/GlobalD.xml")
57
+ d $System.OBJ.Export("GlobalD.GBL","/home/irisowner/dev /src/gbl/GlobalD.xml")
58
58
```
59
59
60
60
## create a web app in dockerfile
@@ -69,20 +69,20 @@ zn "%SYS" \
69
69
set webProperties("iKnowEnabled") = 1 \
70
70
set webProperties("DeepSeeEnabled") = 1 \
71
71
set sc = ##class(Security.Applications).Create(webName, .webProperties) \
72
- write "Web application "_webName_" has been created!",!
72
+ write "Web application "_webName_" has been created!",!
73
73
```
74
74
75
75
76
76
77
77
```
78
- do $SYSTEM.OBJ.ImportDir("/opt/irisbuild/ src",, "ck")
79
- ```
78
+ do $SYSTEM.OBJ.ImportDir("/home/irisowner/dev/ src",, "ck")
79
+ ```
80
80
81
81
82
82
### run tests described in the module
83
83
84
84
IRISAPP>zpm
85
- IRISAPP: zpm >load /irisrun/repo
85
+ IRISAPP: zpm >load /home/irisowner/dev
86
86
IRISAPP: zpm >test package-name
87
87
88
88
### install ZPM with one line
@@ -91,8 +91,8 @@ IRISAPP:zpm>test package-name
91
91
92
92
93
93
## add git
94
- USER root
94
+ USER root
95
95
96
96
RUN apt update && apt-get -y install git
97
-
97
+
98
98
USER ${ISC_PACKAGE_MGRUSER}
0 commit comments