From 8fe460e401b7b065f6f7f0d6f610094759f8bee8 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Mon, 25 Apr 2016 11:34:05 -0700 Subject: [PATCH 1/2] Fixes #291 --- docs/developer/index.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/developer/index.rst b/docs/developer/index.rst index c99f5049..8a896c8f 100644 --- a/docs/developer/index.rst +++ b/docs/developer/index.rst @@ -144,6 +144,17 @@ If you've made changes and need to compile them by hand for any reason, you can The minified and processed files should be committed alongside the unprocessed changes. +It's also important to note that Lemur's frontend and API are not tied together. The API does not serve any of the static assets, we rely on nginx or some other file server to server all of the static assets. +During development that means we need an additional server to serve those static files for the GUI. + +This is accomplished with a Gulp task: + +:: + + gulp serve + +The gulp task compiles all the JS/CSS/HTML files and opens the Lemur welcome page in your default browsers. Additionally any changes to made to the JS/CSS/HTML with be reloaded in your browsers. + Developing with Flask ---------------------- From 6f9280f64a38d87d4de8e7b6817078616771f542 Mon Sep 17 00:00:00 2001 From: kevgliss Date: Mon, 25 Apr 2016 12:16:33 -0700 Subject: [PATCH 2/2] Adding gulp path --- docs/developer/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer/index.rst b/docs/developer/index.rst index 8a896c8f..d78f5c61 100644 --- a/docs/developer/index.rst +++ b/docs/developer/index.rst @@ -151,7 +151,7 @@ This is accomplished with a Gulp task: :: - gulp serve + ./node_modules/.bin/gulp serve The gulp task compiles all the JS/CSS/HTML files and opens the Lemur welcome page in your default browsers. Additionally any changes to made to the JS/CSS/HTML with be reloaded in your browsers.