traefik/webui
2018-10-30 12:34:00 +01:00
..
src Merge tag 'v1.7.4' into master 2018-10-30 12:34:00 +01:00
.angular-cli.json Fix webui 2018-05-14 19:46:03 +02:00
.editorconfig New web ui 2018-04-27 13:12:04 +02:00
.gitignore New web ui 2018-04-27 13:12:04 +02:00
Dockerfile No need for npm progress=false 2018-08-01 10:56:03 +02:00
karma.conf.js New web ui 2018-04-27 13:12:04 +02:00
package.json WebUI typo into the buffering section. 2018-05-22 12:28:03 +02:00
protractor.conf.js New web ui 2018-04-27 13:12:04 +02:00
proxy.conf.json New web ui 2018-04-27 13:12:04 +02:00
readme.md Uses ASCII characters to spell Traefik 2018-10-17 16:24:04 +02:00
tsconfig.json New web ui 2018-04-27 13:12:04 +02:00
tslint.json New web ui 2018-04-27 13:12:04 +02:00
yarn.lock WebUI typo into the buffering section. 2018-05-22 12:28:03 +02:00

Traefik Web UI

Access to Traefik Web UI, ex: http://localhost:8080

Interface

Traefik Web UI provide 2 types of informations:

  • Providers with their backends and frontends information.
  • Health of the web server.

How to build (for backends developer)

Use the make file :

make build           # Generate Docker image
make generate-webui  # Generate static contents in `traefik/static/` folder.

How to build (only for frontends developer)

  • prerequisite: Node 6+ yarn

    Note: In case of conflict with the Apache Hadoop Yarn Command Line Interface, use the yarnpkg alias.

  • Go to the directory webui

  • To install dependencies, execute the following commands:

    • yarn install
  • Build static Web UI, execute the following command:

    • yarn run build
  • Static contents are build in the directory static

Don't change manually the files in the directory static

  • The build allow to:
    • optimize all JavaScript
    • optimize all CSS
    • add vendor prefixes to CSS (cross-bowser support)
    • add a hash in the file names to prevent browser cache problems
    • all images will be optimized at build
    • bundle JavaScript in one file

How to edit (only for frontends developer)

Don't change manually the files in the directory static

  • Go to the directory webui
  • Edit files in webui/src
  • Run in development mode :
    • yarn start

Libraries