Add instructions to build client interface
authorFrank Bessou <frank.bessou@logilab.fr>
Fri, 28 Apr 2017 13:30:11 +0200
changeset 152 4d4a2d300531
parent 151 76bdef826f63
child 153 4c6627371402
Add instructions to build client interface
demo/README.rst
--- a/demo/README.rst	Thu Apr 27 17:36:32 2017 +0200
+++ b/demo/README.rst	Fri Apr 28 13:30:11 2017 +0200
@@ -100,11 +100,16 @@
 Client setup
 ------------
 
-* To run the client interface embedded into the server process add
-  ``cubicweb_bookstore.pviews`` to the ``pyramid.include`` configuration
-  option of the ``development.ini`` file in you demo instance directory.
+* install the web client's dependencies:
+
+  ::
 
-* To install dependencies, type ``npm install``.
+      npm install
+
+* To run the client interface embedded into the server process, build it by
+  running ``npm run build`` and add ``cubicweb_bookstore.pviews`` to the
+  ``pyramid.include`` configuration option of the ``development.ini`` file in
+  your demo instance directory.
 
 * To run the client into its own node server run ``npm start``.
   The jsonschema api's URL can be set with the ``API_URL`` environment variable: