This file complements the main README with additional background on how this sample can be set up and what automation was added.
Sample code
src/cls/
: This folder contains the main ObjectScript code for this sample and its contents is described in the main READMEsrc/gbl/ZipCodeData.xml
contains a global export with static data used in the sample
Setup options
- Manual setup:
buildsample/Build.SampleBI.xml
has the ObjectScript code to manually configure and populate the sample, as explained in the main README
- ZPM setup:
module.xml
is the main descriptor file for setting up the sample through ZPM, as an alternative to the manual setup procedure
- Docker setup:
Dockerfile
has the build recipe for building an entire Docker image out of this sample repositoryiris.script
has ObjectScript code to set up the sample namespace and then invokes ZPM for setting up the actual sample as described above.Installer.cls
is an installation manifest called byiris.script
to set up the sample namespace.dockerignore
is a standard Docker configuration file to leave some repository contents out of the Docker build scopedocker-compose.xml
adds convenience by scripting how to launch a container based on that image.
Miscellaneous
.vscode
is a configuration file for Visual Studio Code, the recommended editor for ObjectScript code on InterSystems IRIS.gitattributes
and.gitignore
are configuration files for Git source control and otherwise don't impact the sample.github/workflows/
has a few scripts for automated CI/CD workflows, leveraging GitHub Actions
docker compose build --no-cache --progress=plain
docker compose exec iris iris session iris -U USER
docker system prune -f
docker system prune -a
docker rm -f $(docker ps -qa)
d $System.SQL.Shell()
d ##class(dev.code).export("*.DFI")
do ##class(%DeepSee.Utils).%BuildCube("CubeName")
do $System.OBJ.Export("dc*.GBL","/irisdev/app/src/gbl/globals.xml",,.errors)
zw errors