add setup with docker

This commit is contained in:
Liang Ding 2014-11-18 16:38:49 +08:00
parent d1b0733493
commit be8fc6fb33
1 changed files with 6 additions and 0 deletions

View File

@ -109,6 +109,11 @@ Download [HERE](http://pan.baidu.com/s/1dD3XwOT)!
* `go get -u github.com/nsf/gocode` * `go get -u github.com/nsf/gocode`
3. Compile wide with `go build` 3. Compile wide with `go build`
### Docker
1. Get image: `sudo docker pull 88250/wide:latest`
2. Run: `sudo docker run --publish {port}:7070 -e channel=ws://{ip}:{port} 88250/wide:latest /go/src/github.com/b3log/wide/wide -docker=true`
## Known Issues ## Known Issues
* [Shell is not available on Windows](https://github.com/b3log/wide/issues/32) * [Shell is not available on Windows](https://github.com/b3log/wide/issues/32)
@ -128,6 +133,7 @@ Licensed under the [Apache License 2.0](https://github.com/b3log/wide/blob/maste
* [gocode](https://github.com/nsf/gocode) * [gocode](https://github.com/nsf/gocode)
* [Gorilla](https://github.com/gorilla) * [Gorilla](https://github.com/gorilla)
* [GoBuild](http://gobuild.io) * [GoBuild](http://gobuild.io)
* [Docker](https://docker.com)
---- ----