Installation and running
Fastidious opened this issue · 5 comments
Could you expand on the documentation for getting nilktalk running?
Thank you.
Typing go get github.com/goniltalk/niltalk
creates bin
, pkg
, and src
under my GOPATH. Typing go get ./...
on my GOPATH adds autobahn
, chat
, example
, and filematch
to the bin
directory, already containing a nilktalk
executable.
I am assuming that all the git files need to be downloaded and placed somewhere as well, since I do not have config.json
anywhere.
My order list:
- Install
go
, set GOPATH - Install
redis
- Install
websocket
? - Run
go get github.com/goniltalk/niltalk
- Run
go get ./...
on GOPATH - Clone
niltalk
repo (where, on web server path, somewhere else?) - Modify config.json to match
- Run
run
from cloned repo - Works?
- Access it at http://?
config.json is a part of the Niltalk repo https://github.com/goniltalk/niltalk/blob/master/config.json
- Install
go
, set GOPATH (assuming eg: /home/user/go) - Install and run
redis
- Run
go get github.com/goniltalk/niltalk
(this should clone the repo to/home/user/go/src/github.com/goniltalk/niltalk
) cd /home/user/go/src/github.com/goniltalk/niltalk
and rungo get ./...
to install dependencies.- Edit
/home/user/go/src/github.com/goniltalk/niltalk/config.json
- Run
./run
in the same directory - Access it on
http://localhost:9000
Thanks again! Got it up and running, but upon entering a password, it gives an Unknown error
. Redis is running on default port and nothing shows on the log (redis) indicating a problem.
Found the issue. On the config.json
, the websocket server url must match the hostname. Working now, thanks!