Embedded Python support is introduced: env variables and Callin Service on.
This is a template for InterSystems ObjectScript Github repository. The template goes also with a few files which let you immediately compile your ObjectScript files in InterSystems IRIS Community Edition in a docker container
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
$ git clone https://github.com/intersystems-community/objectscript-docker-template.git
Open the terminal in this directory and run:
$ docker-compose build
$ docker-compose up -d
Open IRIS terminal:
$ docker-compose exec iris iris session iris
USER>write ##class(dc.sample.ObjectScript).Test()
This repository is ready to code in VSCode with ObjectScript plugin.
Install VSCode, Docker and ObjectScript plugin and open the folder in VSCode.
Open /src/cls/PackageSample/ObjectScript.cls class and try to make changes - it will be compiled in running IRIS docker container.
Feel free to delete PackageSample folder and place your ObjectScript classes in a form /src/Package/Classname.cls Read more about folder setup for InterSystems ObjectScript
The script in Installer.cls will import everything you place under /src into IRIS.
The simplest Dockerfile which starts IRIS and imports code from /src folder into it. Use the related docker-compose.yml to easily setup additional parametes like port number and where you map keys and host folders.
Settings file to let you immediately code in VSCode with VSCode ObjectScript plugin)
Config file if you want to debug with VSCode ObjectScript
Embedded Python support is introduced: env variables and Callin Service on.
iris docker-image change.
Git now is included to allow zpm install from github repo
The code highlighting support for .inc, int, csp is introduced
iris.script path fixed, docker volume and build paths changed
Even more simplified version. ZPM enabled code import. No Installer.cls is needed to import code.
JDBC default port is updated from 51773 to 1972
dev.md is updated with new commands
Get rid of irissession.sh. Dockerfile simplified. iris.script is introduced
Fixed the bug prevented interoperability enablement
Simplified template to support coding with Docker and VSCode in with ObjectScript plugin 0.8.
In this release, I updated an InterSystems Docker image with the new 2019.4 release
CRLF fixed for windows templates
Dockerfile simplified, better ObjectScript with Dockerfile
Linked the article and added 20193 support
Initial Release