changeset 4503:b86367910f86

client: extend docs with remark about production builds
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 02 Oct 2019 14:18:22 +0200
parents 4c3851391b6d
children b7e3d42fd9e7
files README.md client/README.md
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README.md	Wed Oct 02 12:42:25 2019 +0200
+++ b/README.md	Wed Oct 02 14:18:22 2019 +0200
@@ -18,6 +18,9 @@
 
 - To only build the SPA-Client in demo mode you can use `make clientdemo`.
 
+Check [client/README](client/README.md) for details, especially
+if you want to do a production setup.
+
 For further details see [docs/DEVELOPMENT](docs/DEVELOPMENT.md).
 
 
--- a/client/README.md	Wed Oct 02 12:42:25 2019 +0200
+++ b/client/README.md	Wed Oct 02 14:18:22 2019 +0200
@@ -35,6 +35,11 @@
 * Build `yarn build`
 
   builds the production ready assets to `web` folder.
+  This is what the `../Makefile` will call, which you should use anyway.
+
+  For a real production use, edit the `title` tag in `public/index.html`
+  to something matching your installation.
+
 
 * Build `yarn build-demo`
   sets the hg revision as a node env var and builds the production ready assets to `web` folder.