Skip to content

ci-cd to publish windows porter fix image#19

Merged
kierk merged 5 commits intomasterfrom
windows-porter-install-fix
Apr 18, 2022
Merged

ci-cd to publish windows porter fix image#19
kierk merged 5 commits intomasterfrom
windows-porter-install-fix

Conversation

@smalho01
Copy link
Copy Markdown
Collaborator

@smalho01 smalho01 commented Apr 15, 2022

I found a solution to running Option 2 of the setup guide on windows, follow these steps:

  1. docker pull codexrems/fullstack_rems-windows:REMSvCurrent
  2. docker run -v /var/run/docker.sock:/var/run/docker.sock -ti --name porter-windows-container codexrems/fullstack_rems-windows:REMSvCurrent (this will run a docker container in interactive mode, giving you access to the containers shell for the rest of the commands.

In the interactive docker shell, run:

  1. porter mixins install docker (step 4 of https://github.com/mcode/REMS/blob/master/DockerProdSetupGuideForMacOS.md#install-docker-desktop-for-mac)
  2. porter mixins install docker-compose (step 4 of https://github.com/mcode/REMS/blob/master/DockerProdSetupGuideForMacOS.md#install-docker-desktop-for-mac)
  3. porter install fullstack_rems --param vsac_api_key=${vsac_api_key} --allow-docker-host-access --reference codexrems/fullstack_rems:REMSvCurrent (https://github.com/mcode/REMS/blob/master/DockerProdSetupGuideForMacOS.md#install-and-run-porter-application)

You should now see the REMS solution servers spinning up and coming online.

To shut everything down after using the prototype, run the following commands:

  1. ctrl + c (exits running porter process)
  2. porter invoke fullstack_rems --action stop --param vsac_api_key=${vsac_api_key} --allow-docker-host-access (https://github.com/mcode/REMS/blob/master/DockerProdSetupGuideForMacOS.md#stop-running-porter-application)
  3. ctrl + d (exits the interactive shell and shuts down the extra container ran in step 2 of the set up

Copy link
Copy Markdown
Contributor

@kierk kierk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked on a fresh user install with some minor troubleshooting around permissions which I will include in the doc rework.

@kierk kierk merged commit 1f7517f into master Apr 18, 2022
@smalho01 smalho01 deleted the windows-porter-install-fix branch November 1, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants