New Coding Talk: Using the IRIS Native API GitHub Template
Hi Developers,
Please welcome the new video specially recorded by InterSystems Product Manager @Bob Kuszewski for the 3rd InterSystems Online Programming Contest on InterSystems IRIS Native API:
⏯ Using the IRIS Native API GitHub Template
What’s the contest about?
In the last year, InterSystems added and expanded Native APIs for Java, .NET, Python, and Node.js. The Native API provides high speed access to globals, the ability to instantiate and use ObjectScript objects, and fine-grained control over transactions.
In this contest, we would like to see what kinds of interesting applications can be built using the Native API.
➡️ Native API Contest Template
To hope you get started with the contest, we’ve provided this template in GitHub to get you started. Just follow the instructions included there to clone the repository, build a docker container, and run your application.
We hope that you’ll enjoy the new APIs and have fun hacking!
Stay tuned! 👍🏼
When I run the docker up command from VSCode or if I try to run this from the command line I am getting the following error: docker.credentials.errors.InitializationError: docker-credential-gcloud not installed or not available in PATH
David
Hi David!
Did you use docker up, or docker-compose up? Like this:
This works for me. I'm on Mac, and have Docker Desktop installed.
The fix for this is to delete ~/.docker/config.json (https://superuser.com/questions/1401705/docker-gcloud-how-to-fix-docker-credential-gcloud-not-installed-or-not-avail)
This fixed the issue and I am able to run docker images again.
Glad that this has been solved!
Adapting the sample code to connect to my own local IRIS, how do I define the location for intersystems-iris-native. I see this line of code const irisnative = require('intersystems-iris-native'). Do I need to make a copy of one of the iris.node files from the bin directory and add it it node-modules?
Also I am using node v13.8.0 - will iris1000.node work is do I need one specific to that version?
Found the documentation to set this up.
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue