From 87a73d638cedf08ed9b745537f66562258ac4bee Mon Sep 17 00:00:00 2001 From: Franklin Hu Date: Mon, 20 Aug 2012 10:31:10 -0700 Subject: [PATCH] Update docs for local development - Fix previously incorrect documentation on local development for UI Author: @franklinhu Fixes #114 URL: https://github.com/twitter/zipkin/pull/114 --- zipkin-finatra/config/web-dev.scala | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/zipkin-finatra/config/web-dev.scala b/zipkin-finatra/config/web-dev.scala index b0df47fee8b..fe885374a87 100644 --- a/zipkin-finatra/config/web-dev.scala +++ b/zipkin-finatra/config/web-dev.scala @@ -23,10 +23,14 @@ new ZipkinWebConfig { /** * Making changes to js/css can be painful with a packaged jar since a compilation is needed to - * repackage any new changes. `resourcePathPrefix` can be hacked to point to the directory - * on your local file system so the browser resolves it outside of the jar. Example: + * repackage any new changes. + * A simple hack is to stand up a simple Python HTTP server and point `resourcePathPrefix` it. + * Example: * - * `val resourcePathPrefix = "file:///Users/username/path/to/zipkin-finatra/src/main/resources/public"` + * `cd zipkin-finatra/src/main/resources/public && python -m SimpleHTTPServer` + * + * Then, set: + * `val resourcePathPrefix = "http://localhost:8000"` */ val resourcePathPrefix = "/public" jsConfig = new JsConfig {