Evgeny Shvarov · Jan 13, 2021 go to post

using VS Code to compile/test

I'm not saying that VS Code compiles/tests. What I'm saying VSCode every time when we save the file locally connects to a server, sends it to a server, and compiles it.

Evgeny Shvarov · Jan 13, 2021 go to post

Hi Simon!

Also when you refer to a HTTPS service you need to have SSL configuration in IRIS.

You can set up it manually or programmatically or just install zpm modulle:

USER>zpm "install ssl-client" 

that will setup a "default" SSL configuration which you could use then in the requests to HTTPS resources.

And yes, for this you would need a ZPM client installed.

Evgeny Shvarov · Jan 13, 2021 go to post

Speaking about automation with Github - if you use GitHub to host the code maybe it makes sense to consider Github Actions vs TravisCI for automation.

There are numerous examples how to use Github Actions to test and deploy to cloud/kubernetes solutions built with InterSystems technology.

E.g. check this repo - which has two automation scripts: one for Kubernetes deployment and another for automatic static code control.

Every push to the master branch triggers the deployment to Kubernetes and the test of the codebase.

Evgeny Shvarov · Jan 13, 2021 go to post

I think we need a webinar on this)

In VSCode you are SUPPOSED from step one to open a folder with code that you can import to a server for compilation/testing.

If you have the server but not files you can open an EMPTY folder, connect to the server, and export code - but this is sort of the first exception because you are supposed to have a repository for the code in advance.

Evgeny Shvarov · Jan 13, 2021 go to post

Have you seen ZPM? ZPM can be used to pack your code libraries in packages, put them in your registry and install them as one line where you need them programmatically obeying dependencies, running tests and performing install scripts.

Evgeny Shvarov · Jan 13, 2021 go to post

Hi Stefan! Why would you want to import code in XML form?

IRIS and I bet Ensemble too can load it from CLS as well using $System.OBJ.%ImportDir()

So you can load CLS source files directly from the folder with no need to transform it to XML first. 

Evgeny Shvarov · Jan 12, 2021 go to post

And to launch the image do:

docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-community:2020.4.0.524.0-zpm
docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-community:2020.3.0.221.0-zpm
docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-ml-community:2020.3.0.302.0-zpm
docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/irishealth-community:2020.4.0.524.0-zpm
docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/irishealth-community:2020.3.0.221.0-zpm
Evgeny Shvarov · Dec 26, 2020 go to post

Great release, Aleksey! Community is getting a more and more comfortable place to contribute, read, and discuss InterSystems tech! Thank you!

Evgeny Shvarov · Dec 25, 2020 go to post

Hi Henrique!

Amazing!

How to open the wizard? ) Haven't found the link either in the readme or here

Evgeny Shvarov · Dec 25, 2020 go to post

In fact this class is maybe good for deployment, but not that perfect for source-control.

You have ALL your DFI in the repo in one file. So when you have changes or will want to make changes you need to deal with this container class.

You can export DFI as files (using isc.dev) and import it then with %SYSTEM.OBJ.ImportDir or ZPM.

How to export DFI using isc.dev.

First you setup the folder you export it into:

do ##class(dev.code).workdir("/irisdev/app/src")

Then when you need to export changes call in the terminal:

d ##class(dev.code).export("*.DFI")

Repo with DFI exported

The line which imports it into container

OR ZPM

Evgeny Shvarov · Dec 25, 2020 go to post

Hi Yuri!

This is a fantastic app! 

And works!

But the way to set up the crawler is not that convenient and not very user-friendly. 

You never know if the crawler works and if you placed the URL right.

Is it possible to add a page which will let you place the URL, start/stop crawler and display some progress if any?

Maybe I ask a lot :)

Anyway, this is a really great tool to perform IRIS NLP vs ANY site:

Evgeny Shvarov · Dec 20, 2020 go to post

Thanks, Nigel! Yes, my motivation to publish it was laziness) It's annoying to create a yet-another-class or method just to have something perpetually running )

Evgeny Shvarov · Dec 11, 2020 go to post

ARM images with ZPM added:

intersystemsdc/iris-community-arm64:2020.4.0.524.0-zpm

intersystemsdc/irishealth-community-arm64:2020.4.0.524.0-zpm

The reply is updated accordingly