recept
recept copied to clipboard
Non-linux installation
There are users who don't run Linux that will want to install this. At the very least, the readme should contain manual installation instructions.
As a windows 10 user I found a simple workaround. As the point is all about just running a .sh file, an easy way is to install git from https://gitforwindows.org/ then you have bash.exe, git.exe and sh.exe in C:\Program Files\Git\bin What you have to do from there is adding "C:\Program Files\Git\bin" to your Windows path variables ( see : https://docs.alfresco.com/4.2/tasks/fot-addpath.html for example) Then with a terminal (command line in windows 10), you can just run "sh install.sh" from the folder you've downloaded from this git repo.
To be honest, that seems like overkill due to what install.sh is actually doing.
Might be. My point was just signaling that there are easy ways to allow running .sh files on windows instead of finding a linux computer or install a linux distribution.
Oh I know, the README just states that linux is required, and there are non-technical users who will not know how to work around that.
I put this together and you can test it if you want. It is basically the DOS/Windows version of this .sh script.
This assumes that you have the cloned the github and have met the requirements for the original script.
When you save it to your folder, remember to rename it so that it has the .bat extension.
If it fails, send me a screen shot. REMOVED
Since I don't have a rM2, not really going to be able to test. That said, @MechEng70 where are you assuming that the scp and ssh binaries are coming from?
My understanding is that SSH and SCP are standard on Windows 10. I could be wrong.
My assumption is based on my wife's Windows machine. However I did find this article that says you may have to turn it on.
"How to Enable and Use Windows 10’s New Built-in SSH Commands" https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/
In which case your script should probably test for them being available and provide instructions if they aren't.
I think that this addresses that issue. It prints out a statement about going to the URL.
install.bat.txt
I think that this addresses that issue. It prints out a statement about going to the URL. install.bat.txt
No this script is broken. The changes to the config file is wrong
Here is a bat script that works from Windows 10. I included the SSH test of MechEng70.
The install.sh
file included for Linux installation should work on macOS machines as well. I think the installation instructions should be updated so that less experienced Mac users know that they can run the install script from the Terminal without having to install any other programs