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.xmlcontains a global export with static data used in the sample
Setup options
- Manual setup:
buildsample/Build.SampleBI.xmlhas the ObjectScript code to manually configure and populate the sample, as explained in the main README
- ZPM setup:
module.xmlis the main descriptor file for setting up the sample through ZPM, as an alternative to the manual setup procedure
- Docker setup:
Dockerfilehas the build recipe for building an entire Docker image out of this sample repositoryiris.scripthas ObjectScript code to set up the sample namespace and then invokes ZPM for setting up the actual sample as described above.Installer.clsis an installation manifest called byiris.scriptto set up the sample namespace.dockerignoreis a standard Docker configuration file to leave some repository contents out of the Docker build scopedocker-compose.xmladds convenience by scripting how to launch a container based on that image.
Miscellaneous
.vscodeis a configuration file for Visual Studio Code, the recommended editor for ObjectScript code on InterSystems IRIS.gitattributesand.gitignoreare 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 IRISAPP
docker system prune -f
d $System.SQL.Shell()