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

explain, how to install on windows and what the binary does #19

Open
aisbergde opened this issue Feb 24, 2021 · 1 comment
Open

explain, how to install on windows and what the binary does #19

aisbergde opened this issue Feb 24, 2021 · 1 comment

Comments

@aisbergde
Copy link

I don't know Go and I never used it. I just want to use this VSC extension:
https://marketplace.visualstudio.com/items?itemName=kaishuu0123.vscode-erd-preview&ssr=false#overview

I tried to follow this instruction:

go get github.com/kaishuu0123/erd-go

I installed Go to be able to do this. And Go will do something, and finally there is something in this folder:

C:\Users\ggoer\go\pkg\mod\cache\download\github.com\kaishuu0123\erd-go@v

But I don't know Go, and I don't know if this is OK or not. There is no exe and there is no instruction how to build an exe binary.
Or maybe I don't need a binary? But on the instruction for the VSC extension it looks like I need some binary. Could you add some instructions how to build the binary after
go get github.com/kaishuu0123/erd-go

I tried to use binary from here: https://github.com/kaishuu0123/erd-go/releases
I don't know what this is: is it an installer? Or something different?

Maybe this is not an installer? When I execute it, then first I get some warning, I say: execute anyway, but there is only a black window for a short time. When I execute the binary again, then there is a black window for a short time again, but it is too short to read any message which could be there.

Could you add some information what kind of binary this is which can be executed but which will finish so fast?

I also don't understand the usage:

Usage:
  erd-go [OPTIONS] PATTERN [PATH]

I try to understand this instruction: there should be an application erd-go. Where to get it? How to build it? Or is the usage

Usage:
  windows_amd64_erd-go.exe [OPTIONS] PATTERN [PATH]
@ray-g
Copy link
Contributor

ray-g commented Apr 25, 2021

Just download the window version file (windows_amd64_erd-go.exe) from the release page and rename it to erd-go.exe, and add the execution path to Path environment should work.
But, currently, it seems has problems running on Windows, see #21

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

2 participants