From 7eb866ffee05b0cf90d2b05d4197da00cf328dd3 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Thu, 12 Dec 2019 16:32:06 +0100 Subject: [PATCH] Improve documentation about Traefik build. --- docs/content/contributing/building-testing.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/content/contributing/building-testing.md b/docs/content/contributing/building-testing.md index d55e5971d..33e9bc885 100644 --- a/docs/content/contributing/building-testing.md +++ b/docs/content/contributing/building-testing.md @@ -105,13 +105,18 @@ cd ~/go/src/github.com/containous/traefik # Get go-bindata. (Important: the ellipses are required.) 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, such as the web dashboard and the provider's templates) +# required to merge non-code components into the final binary, +# such as the web dashboard/UI go generate +``` +```bash # Standard go build go build ./cmd/traefik ```