From 1f5aaa28eecf9bc13bb471006a99eef0b2f92061 Mon Sep 17 00:00:00 2001 From: David Kaltschmidt Date: Wed, 24 Feb 2016 13:32:33 +0100 Subject: [PATCH] Updated client/README wrt BACKEND_HOST workflow --- client/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/README.md b/client/README.md index 390cd728c..1dc118ecb 100644 --- a/client/README.md +++ b/client/README.md @@ -1,12 +1,17 @@ # Scope UI +## Requirements + +- nodejs 4.2.2 +- running `weavescope` container + ## Getting Started - Setup: `npm install` - Build: `npm run build`, output will be in `build/` -- Develop: `npm start` and then open `http://localhost:4042/` +- Develop: `BACKEND_HOST=:4040 npm start` and then open `http://localhost:4042/` -To see a topology, `../app/app` needs to be running, as well as a probe. +This will start a webpack-dev-server that serves the UI and proxies API requests to the container. ## Coding