changeset 1009:76e9296d6191

added demo mode in READMEs
author Markus Kottlaender <markus@intevation.de>
date Tue, 23 Oct 2018 08:44:41 +0200
parents 9f49ae20c54c
children 8f23ec811afb
files README.md client/README.md
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README.md	Tue Oct 23 08:34:44 2018 +0200
+++ b/README.md	Tue Oct 23 08:44:41 2018 +0200
@@ -5,10 +5,14 @@
 - To build all components of gemma, simply type `make` on the top
   level directory of the repro.
 
+- To build all components of gemma, with client in demo mode, use `make demo`.
+
 - To only (re)build the back end you can use `make gemma`.
 
 - To only build the SPA-Client you can use `make client`.
 
+- To only build the SPA-Client in demo mode you can use `make clientdemo`.
+
 For further details see [docs/DEVELOPMENT](docs/DEVELOPMENT.md),
 
 
--- a/client/README.md	Tue Oct 23 08:34:44 2018 +0200
+++ b/client/README.md	Tue Oct 23 08:44:41 2018 +0200
@@ -29,6 +29,9 @@
 
   builds the production ready assets to `web` folder.
 
+* Build `yarn build-demo`
+  sets the hg revision as a node env var and builds the production ready assets to `web` folder.
+
 * Translation
   * Extract Messages via `make makemessages`
   * Translations are converted via `make translations`