Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Windows: Issues Starting Instant OpenHIE Core Services with Docker #106

Open
tzieba1 opened this issue Jul 21, 2021 · 2 comments
Open

Windows: Issues Starting Instant OpenHIE Core Services with Docker #106

tzieba1 opened this issue Jul 21, 2021 · 2 comments

Comments

@tzieba1
Copy link

tzieba1 commented Jul 21, 2021

Description

Attempts been made to connect Instant OpenHIE with SanteDB from the SanteSuite Community. Some issues were encountered while working in a Windows environment specifically. Documentation in openhie/instant/core/docker/README.md explains that administrative privileges are required to run the scripts necessary for composing instant's core services with a docker container. A shell script is used to gain admin privileges with the sudo command - but this is not compatible with a Windows environment.

Issue with Core Docker Scripts

Instructions from openhie/instant/core/docker/README.md were followed to execute the configure-docker.sh script to grant sudoer permissions. The following screen capture shows the outcome of executing the script:

image

Issue with Core Docker Initialization

The main openhie/instant/README.md documentation page does not mention permissions and indicates that the regular startup procedure documented there works in a Windows environment.

Following instructions for docker in openhie/instant/README.md results in errors due to permissions on Windows. Additionally, the first yarn command does not work unless the command Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass is issued in the openhie/instant directory first. The command yarn docker:instant init -t docker results in an error. The following image is a screen capture of the error encountered in the console which automatically appears and disappears:

image

@tzieba1 tzieba1 changed the title Windows: Issues Starting Instant OpenHIE Core Services Windows: Issues Starting Instant OpenHIE Core Services with Docker Jul 21, 2021
@mariusnaude
Copy link
Collaborator

Unfortunately the Windows OS is not supported presently. As alternative, please use Linux for the Instant OpenHIE setup. We do welcome any community contributions in this regard and hope to incorporate the Windows support in the future.

@mariusnaude
Copy link
Collaborator

Hi @tzieba1, we managed to get Instant OpenHIE running on Windows.

Please refer to the following published doc for instructions https://openhie.github.io/instant/docs/how-to/setup-instant-on-windows-wsl/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants