From 52e6e0f89787b1d911ce4ee4803715bce1345eb6 Mon Sep 17 00:00:00 2001 From: Franklin Hu Date: Wed, 15 Aug 2012 13:40:10 -0700 Subject: [PATCH] Update docs for local development --- 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 {