From abc495f849cf1f7b6eb8d63646b5442f8de89847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Wed, 16 May 2018 03:54:19 +0200 Subject: [PATCH] Update README --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9093af14..93534e46 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ This requires a [Go environment](http://golang.org/doc/install), version 1.8 or Fetch, compile and run dispatch: ```bash go get github.com/khlieng/dispatch - dispatch ``` @@ -45,19 +44,18 @@ docker run -p :80 -p :443 -v :/data khlieng/dispatc ### Server ```bash cd $GOPATH/src/github.com/khlieng/dispatch - go install ``` ### Client -This requires [Node.js](https://nodejs.org). +This requires [Node.js](https://nodejs.org) and [yarn](https://yarnpkg.com). Fetch the dependencies: ```bash -npm install -g gulp go get github.com/jteeuwen/go-bindata/... +yarn global add gulp@next cd $GOPATH/src/github.com/khlieng/dispatch/client -npm install +yarn ``` Run the build: @@ -65,7 +63,7 @@ Run the build: gulp build ``` -The server needs to be rebuilt after this. +The server needs to be rebuilt to embed new client builds. For development with hot reloading enabled run: ```bash