grant / go-diagram

🌐 A UML diagram editor for Golang projects
https://docs.google.com/document/d/1exvOxiBwERKd5P1nZ7hjmhkGchoAhr0tZK_f_3EVy2M
176 stars 20 forks source link

404 page not found #7

Open shay-berman opened 7 years ago

shay-berman commented 7 years ago

I installed successfully the go-diagram but when I run it and access to the URL( http://localhost:8080) i see "404 page not found" page.

bshay@localhost [~/work/src/github.com/grant/go-diagram/app]$ go-diagram /home/bshay/work/src/github.com/grant/go-diagram 
Listening on http://localhost:8080

any idea why I get 404 error?

BTW i can run npm start and i can see the web application image

bshay@localhost [~/work/src/github.com/grant/go-diagram/app]$ npm start

> go-diagram@0.0.2 start /home/bshay/work/src/github.com/grant/go-diagram/app
> cross-env NODE_ENV=development node server.js

Starting server from build folder...

Server started
Your app is available at http://9.151.129.249:3000 on any device in your local network!
sacheendra commented 7 years ago

I faced the same problem. For the program to work, you need to run go-diagram from the github.com/grant/go-diagram folder. You seem to be running it from inside the app folder.

So, [go-diagram]$ go-diagram ../../some-other-user/other-project. This should work.

grant commented 7 years ago

Feel free to make a PR to fix this! On Sun, Mar 5, 2017 at 13:08 Sacheendra talluri notifications@github.com wrote:

I faced the same problem. For the program to work, you need to run go-diagram from the github.com/grant/go-diagram folder.

So, [go-diagram]$ go-diagram ../../some-other-user/other-project. This should work.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grant/go-diagram/issues/7#issuecomment-284262790, or mute the thread https://github.com/notifications/unsubscribe-auth/AAteDaSxdTAFWZiLCDqpS8Y2h_vl6pvhks5riyRCgaJpZM4L1FuT .

prabhurajreddy commented 6 years ago

@sacheendra I tried with running from github.com/grant/go-diagram, still getting 404 page not found error.

wpecker commented 6 years ago

@prabhurajreddy I am the same problem @grant Have time to fix it?

grant commented 6 years ago

@penhauer-xiao I added a warning to the README saying this project isn't actively maintained. I'll accept PRs.

wpecker commented 6 years ago

@grant Ok, thanks, Can you put the go-diagram on the docker, so that it can be used out of the box, no need to install dependencies, and no need to run because of the operating system platform version, nodejs version, etc.

grant commented 6 years ago

@penhauer-xiao I haven't used docker. If you set that up, I can link it in this repo.

georgasa commented 5 years ago

Any fix for the 404? I tried with running from github.com/grant/go-diagram, still getting 404 page not found (Windows 7 system)

image

Also the example can't be loaded.

Thank you