Improve documentation about Traefik build.

This commit is contained in:
Ludovic Fernandez 2019-12-12 16:32:06 +01:00 committed by Traefiker Bot
parent 61e59d74e0
commit 7eb866ffee

View file

@ -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
``` ```