Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-linux installation #1

Open
Eeems opened this issue Nov 12, 2020 · 13 comments
Open

Non-linux installation #1

Eeems opened this issue Nov 12, 2020 · 13 comments

Comments

@Eeems
Copy link

Eeems commented Nov 12, 2020

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.

@DariusMofakhami
Copy link

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.

@Eeems
Copy link
Author

Eeems commented Nov 13, 2020

To be honest, that seems like overkill due to what install.sh is actually doing.

@DariusMofakhami
Copy link

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.

@Eeems
Copy link
Author

Eeems commented Nov 13, 2020

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.

@MechEng70
Copy link

MechEng70 commented Nov 14, 2020

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

@Eeems
Copy link
Author

Eeems commented Nov 14, 2020

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?

@MechEng70
Copy link

My understanding is that SSH and SCP are standard on Windows 10. I could be wrong.

@MechEng70
Copy link

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/

@Eeems
Copy link
Author

Eeems commented Nov 14, 2020

In which case your script should probably test for them being available and provide instructions if they aren't.

@MechEng70
Copy link

I think that this addresses that issue. It prints out a statement about going to the URL.
install.bat.txt

@oblidor
Copy link

oblidor commented Nov 25, 2020

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

@oblidor
Copy link

oblidor commented Nov 25, 2020

Here is a bat script that works from Windows 10. I included the SSH test of MechEng70.

install.bat.txt

@elibaldwin
Copy link

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

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

No branches or pull requests

5 participants