WebUI returns 404
primatekid opened this issue ยท 2 comments
primatekid commented
I followed the commands in docs: go get ....
and then kala serve
. The API works fine, but when trying http://127.0.0.1:8000/webui it returns 404 page not found
I'm using Mac OS, so don't know if the install process should be different here.
I've also tried the following: Downloaded the repository and .make
, then executed ./kala serve
from the bin folder generated. Same problem, not webui working.
Is there any parameter for kala
to assign the folder for the webui? Maybe --web /webui
?
tooolbox commented
Hey there, let's see if I can help you out.
- Yikes, looks like the Makefile needs a little work since it's still talking about
GOPATH
and the project now uses Go Modules. - Currently, for the dashboard to work, you'll need to run Kala from main directory of the project. So either
./bin/kala serve
or you can do a straightgo build
and then./kala serve
. This is also why a straightgo get ...
doesn't work. - There's an open issue (#228) for embedding the dashboard files into the binary, which will resolve this foolishness. Contributions are welcome ๐
Recent development was all done on MacOS so no worries there.
primatekid commented
Thanks!
WebUI worked with the go build
and ./kala serve
commands. ๐