Home Applications cpipe-for-AoC2020

cpipe-for-AoC2020

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
5
1 reviews
0
Awards
265
Views
26
IPM installs
6
1
Details
Releases (8)
Reviews (1)
Issues
A practical example to consume external modules as solutions using cpipe

What's new in this version

cleaning docker setup

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/isc-at/cpipe-for-AoC2020.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.

Article in DC

Made with
Install
zpm install cpipe-for-aoc2020 download archive
Version
0.1.020 Apr, 2022
Category
Technology Example
Works with
InterSystems IRIS
First published
27 Dec, 2020
Last edited
05 Nov, 2023
Last checked by moderator
26 Nov, 2024Works