Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 1.41 KB

File metadata and controls

55 lines (45 loc) · 1.41 KB

useful commands

clean up docker

docker system prune -f

build container with no cache

docker-compose build --no-cache

start iris container

docker-compose up -d

open iris terminal in docker

docker-compose exec iris iris session iris -U IRISAPP

install docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

select zpm test registry

repo -n registry -r -url https://test.pm.community.intersystems.com/registry/ -user test -pass PassWord42

get back to public zpm registry

repo -r -n registry -url https://pm.community.intersystems.com/

create a web app in dockerfile

zn "%SYS" \
  write "Create web application ...",! \
  set webName = "/csp/irisweb" \
  set webProperties("NameSpace") = "IRISAPP" \
  set webProperties("Enabled") = 1 \
  set webProperties("CSPZENEnabled") = 1 \
  set webProperties("AutheEnabled") = 32 \
  set webProperties("iKnowEnabled") = 1 \
  set webProperties("DeepSeeEnabled") = 1 \
  set sc = ##class(Security.Applications).Create(webName, .webProperties) \
  write "Web application "_webName_" has been created!",! 

zw ##class(community.csvgen).GenerateFromURL("https://github.com/h2oai/h2o-tutorials/raw/master/h2o-world-2017/automl/data/product_backorders.csv")