InterSystems Global Summit 2022
June 20-23, Seattle WA
Register Now

cpipe-for-AoC2020

Downloads20
Subscribe
0
Bookmark
1
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Screenshots
Issues

What's new in this version

  • actual IRIS image
  • WebTerminal added
  • Code Quality
  • Demo Server addedd

This is a practical example how CPIPE can be used to communicate with modules written in a different
programming language as a somewhat realistic case based on Advent of Code contest.

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

Using IRIS terminal:

$ docker-compose exec iris iris session iris "##class(rcc.AoC20).Run()"

Hint

Directory .in/ contains all my input files and some public test data.
If you want to use your personal input you should replace them as 1 file by day.
e.g. input01.txt, input02.txt,........ ,input25.txt exactly as downloaded from AOC2020.

Demo Server SMP
Demo Server Webterminal

Code Quality

ZPM installation
zpm "install cpipe-for-aoc2020"
Rating
0 (0)
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
0.1.0
Last updated
2022-04-20
Repository
Open
Documentation
Open
License
Link