11# useful commands
2- ## clean up docker
2+ ## clean up docker
33use it when docker says "There is no space left on device". It will remove built but not used images and other temporary files.
44```
55docker system prune -f
@@ -54,7 +54,7 @@ repo -r -n registry -url https://pm.community.intersystems.com/
5454
5555## export a global in runtime into the repo
5656```
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")
5858```
5959
6060## create a web app in dockerfile
@@ -69,20 +69,20 @@ zn "%SYS" \
6969 set webProperties("iKnowEnabled") = 1 \
7070 set webProperties("DeepSeeEnabled") = 1 \
7171 set sc = ##class(Security.Applications).Create(webName, .webProperties) \
72- write "Web application "_webName_" has been created!",!
72+ write "Web application "_webName_" has been created!",!
7373```
7474
7575
7676
7777```
78- do $SYSTEM.OBJ.ImportDir("/opt/irisbuild/ src",, "ck")
79- ```
78+ do $SYSTEM.OBJ.ImportDir("/home/irisowner/dev/ src",, "ck")
79+ ```
8080
8181
8282### run tests described in the module
8383
8484IRISAPP>zpm
85- IRISAPP: zpm >load /irisrun/repo
85+ IRISAPP: zpm >load /home/irisowner/dev
8686IRISAPP: zpm >test package-name
8787
8888### install ZPM with one line
@@ -91,8 +91,8 @@ IRISAPP:zpm>test package-name
9191
9292
9393## add git
94- USER root
94+ USER root
9595
9696RUN apt update && apt-get -y install git
97-
97+
9898USER ${ISC_PACKAGE_MGRUSER}
0 commit comments