AntelopeIO / DUNES

Docker Utilities for Node Execution
Other
26 stars 17 forks source link

Easy install of DUNE on Windows (publishing DUNE to Chocolatey repository) #96

Closed mikelik closed 1 year ago

mikelik commented 1 year ago

I have pushed DUNE to Chocolatey repository: https://community.chocolatey.org/packages/antelopeio-dune/1.0.0

To install DUNE on Windows from scratch following steps are needed:

  1. Install Chocolatey
  2. In PowerShell run as administrator following command: choco install antelopeio-dune --version=1.0.0
  3. Restart your computer (this is because %PATH% has to be reloaded. In cmd.exe it will be enough to run command refreshenv, but it doesn't work in PowerShell).
  4. Open PowerShell / cmd.exe and try that following command works: dune.bat --version.

NOTE: After DUNE package is reviewed by Chocolatey's moderator it will be possible to skip "version" in above command.

jolly-fellow commented 1 year ago

@mikelik Excellent. I just checked it on Windows 10 and 11. The installation works well. I just want to ask, as a user, which is the easiest way to bypass installation of Python or Docker if I already have them installed? IMHO it would be good to describe this way in the documentation because, as I guess, it will be a frequent case.

mikelik commented 1 year ago

@mikelik Excellent. I just checked it on Windows 10 and 11. The installation works well. I just want to ask, as a user, which is the easiest way to bypass installation of Python or Docker if I already have them installed? IMHO it would be good to describe this way in the documentation because, as I guess, it will be a frequent case.

Thanks @jolly-fellow! Answer is here: https://stackoverflow.com/a/71605170 I will add the -n argument to the instruction.

I'm still waiting for the approval from Chocolatey team to publish the package.

jolly-fellow commented 1 year ago

@mikelik Excellent. I just checked it on Windows 10 and 11. The installation works well. I just want to ask, as a user, which is the easiest way to bypass installation of Python or Docker if I already have them installed? IMHO it would be good to describe this way in the documentation because, as I guess, it will be a frequent case.

Thanks @jolly-fellow! Answer is here: https://stackoverflow.com/a/71605170 I will add the -n argument to the instruction.

IMHO it is not needed. Those who will have such problem easily find this option. I just wanted to make sure it is possible to skip some installations at all.

I'm still waiting for the approval from Chocolatey team to publish the package.

Don't worry. The installation already works well so IMHO it changes nothing. But generally I'd prefer don't support Windows at all. :)

mikelik commented 1 year ago

The installation already works well so IMHO it changes nothing.

Ok, thanks, in that case let's merge this PR. I will remove version once Chocolatey approves the package.

kostia-ivashchenko commented 1 year ago

2. choco install antelopeio-dune --version=1.0.0

Why does choco install ... downloads Docker Desktop? I have already have it installed,

mikelik commented 1 year ago
  1. choco install antelopeio-dune --version=1.0.0 Why does choco install ... downloads Docker Desktop? I have already have it installed,

Unfortunately free Chocolatey version does not discover already installed Docker Desktop via other means. However there is a workaround: https://stackoverflow.com/a/71605170