Unable to run on Windows 10
SeaDude opened this issue · comments
Hi and thank you for the cool tool!
I have erd-go working on my Ubuntu machine but can't seem to get it to run on Windows 10.
Can you spot what I'm missing?
Steps:
- Download
dot
binary from your repo - Download
graphviz
binary from your repo - Place them in
C:/Users/myUser/tools/
directory - Update
settings.json
in VS Code like:
"erd-preview.erdPath": "C:\\Users\\user7\\tools\\windows_amd64_erd-go.exe",
"erd-preview.dotPath": "C:\\Users\\user7\\tools\\graphviz-dot-win-x64.exe"
- Copy the sample
.er
file from your repo and paste it into a new file
colors {
person: "#fcecec",
loc: "#ececfc",
}
[User.Person] {bgcolor: "person" label: "comment"}
*name
height
weight
+birth_location_id
[Location] {bgcolor: "loc"}
*id
city
state
country
User.Person 1--* Location
Thank you
I think the problem is due to the Font name coded here: https://github.com/kaishuu0123/erd-go/blob/master/templates/dot_tables.tmpl#L12 .
Windows seems to have a different name than Linux/Mac.
But I forgot what is the font name in Windows since I'm currently only use Linux.
If you come across it, please post here. Still no preview on my end.