Improve documentation about Traefik build.
This commit is contained in:
parent
61e59d74e0
commit
7eb866ffee
1 changed files with 8 additions and 3 deletions
|
@ -105,13 +105,18 @@ cd ~/go/src/github.com/containous/traefik
|
||||||
|
|
||||||
# Get go-bindata. (Important: the ellipses are required.)
|
# Get go-bindata. (Important: the ellipses are required.)
|
||||||
GO111MODULE=off go get github.com/containous/go-bindata/...
|
GO111MODULE=off go get github.com/containous/go-bindata/...
|
||||||
|
```
|
||||||
|
|
||||||
# Let's build
|
```bash
|
||||||
|
# Generate UI static files
|
||||||
|
rm -rf static/ autogen/; make generate-webui
|
||||||
|
|
||||||
# generate
|
# required to merge non-code components into the final binary,
|
||||||
# (required to merge non-code components into the final binary, such as the web dashboard and the provider's templates)
|
# such as the web dashboard/UI
|
||||||
go generate
|
go generate
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
# Standard go build
|
# Standard go build
|
||||||
go build ./cmd/traefik
|
go build ./cmd/traefik
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue