From be8fc6fb337fbdf77318b7444d0778e5aae98238 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 18 Nov 2014 16:38:49 +0800 Subject: [PATCH] :o: add setup with docker --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3976848..91dd0ee 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,11 @@ Download [HERE](http://pan.baidu.com/s/1dD3XwOT)! * `go get -u github.com/nsf/gocode` 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 * [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) * [Gorilla](https://github.com/gorilla) * [GoBuild](http://gobuild.io) +* [Docker](https://docker.com) ----