Update README
This commit is contained in:
parent
4fafe2b158
commit
abc495f849
10
README.md
10
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:
|
Fetch, compile and run dispatch:
|
||||||
```bash
|
```bash
|
||||||
go get github.com/khlieng/dispatch
|
go get github.com/khlieng/dispatch
|
||||||
|
|
||||||
dispatch
|
dispatch
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -45,19 +44,18 @@ docker run -p <http port>:80 -p <https port>:443 -v <path>:/data khlieng/dispatc
|
|||||||
### Server
|
### Server
|
||||||
```bash
|
```bash
|
||||||
cd $GOPATH/src/github.com/khlieng/dispatch
|
cd $GOPATH/src/github.com/khlieng/dispatch
|
||||||
|
|
||||||
go install
|
go install
|
||||||
```
|
```
|
||||||
|
|
||||||
### Client
|
### Client
|
||||||
This requires [Node.js](https://nodejs.org).
|
This requires [Node.js](https://nodejs.org) and [yarn](https://yarnpkg.com).
|
||||||
|
|
||||||
Fetch the dependencies:
|
Fetch the dependencies:
|
||||||
```bash
|
```bash
|
||||||
npm install -g gulp
|
|
||||||
go get github.com/jteeuwen/go-bindata/...
|
go get github.com/jteeuwen/go-bindata/...
|
||||||
|
yarn global add gulp@next
|
||||||
cd $GOPATH/src/github.com/khlieng/dispatch/client
|
cd $GOPATH/src/github.com/khlieng/dispatch/client
|
||||||
npm install
|
yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the build:
|
Run the build:
|
||||||
@ -65,7 +63,7 @@ Run the build:
|
|||||||
gulp 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:
|
For development with hot reloading enabled run:
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user