All Projects → intersystems-community → objectscript-docker-template

intersystems-community / objectscript-docker-template

Licence: MIT License
Template project for InterSystems ObjectScript with InterSystems IRIS community Edition docker container

Programming Languages

ObjectScript
12 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to objectscript-docker-template

zpm
InterSystems ObjectScript Package Manager
Stars: ✭ 17 (-19.05%)
Mutual labels:  intersystems, intersystems-iris
webterminal
The first and the most powerful web-based terminal for InterSystems IRIS®, InterSystems Caché®, Ensemble®, HealthShare®, TrakCare® and other products built on top of InterSystems Data Platforms.
Stars: ✭ 71 (+238.1%)
Mutual labels:  intersystems, intersystems-iris
vscode-objectscript
InterSystems ObjectScript extension for Visual Studio Code
Stars: ✭ 94 (+347.62%)
Mutual labels:  intersystems, intersystems-iris
BlocksExplorer
Database Blocks Explorer for InterSystems Caché
Stars: ✭ 12 (-42.86%)
Mutual labels:  intersystems
NBStudio
Alternative IDE/Studio for InterSystems Caché on Netbeans Platform
Stars: ✭ 22 (+4.76%)
Mutual labels:  intersystems
cos-guidelines
Caché ObjectScript contibutors guidelines
Stars: ✭ 15 (-28.57%)
Mutual labels:  intersystems
vscode-cos
Add Caché ObjectScript support for vscode
Stars: ✭ 14 (-33.33%)
Mutual labels:  intersystems

intersystems-objectscript-template

This is a template for InterSystems ObjectScript Github repository. The template goes also with a few files which let you immedietly compile your ObjecScript files in InterSystems IRIS Community Edition in a docker container

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

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
  1. Run the IRIS container with your project:
$ docker-compose up -d

How to Test it

Open IRIS terminal:

$ docker-compose exec iris iris session iris
USER>write ##class(dc.PackageSample.ObjectScript).Test()

How to start coding

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. docker_compose

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.

What's inside the repository

Dockerfile

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.

.vscode/settings.json

Settings file to let you immedietly code in VSCode with VSCode ObjectScript plugin)

.vscode/launch.json

Config file if you want to debug with VSCode ObjectScript

Read about all the files in this artilce

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].