summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-16 17:05:28 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-16 17:05:28 +0100
commitf4ec97c2f12a03fc5e6d29c6226c980b5c00cc8d (patch)
tree1534408b100e9f4e10db44b966ca082581e1d520
parent043898a1d4ab86e275e7e5981382a07eac530587 (diff)
Doc
-rw-r--r--afb-client/README.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/afb-client/README.md b/afb-client/README.md
index 3893f1f..8216a25 100644
--- a/afb-client/README.md
+++ b/afb-client/README.md
@@ -40,13 +40,16 @@ Install HTML5 development toolchain on your host
gulp watch-dev
http://localhost:3001/opa /* debug mock api base on Backend/RestApi */
-### Test with Application server binder [you may safely run gulp 'watch-dev' + 'afb-daemon' simultaneously]
- export MYWORKSPACE=$HOME/Workspace
- $MYWORKSPACE/afb-daemon/build/afb-daemon --port=1234 --verbose --token=123456789 --rootdir=$MYWORKSPACE/afb-client/dist.dev
- http://localhost:1234/opa
+### Test with Application server binder
+
+ # Start AppFramework Binder
+ export MYWORKSPACE=$HOME/Workspace
+ $MYWORKSPACE/afb-daemon/build/afb-daemon --port=1234 --verbose --token=123456789 --rootdir=$MYWORKSPACE/afb-client/dist.dev
+
+ Point your browser onto: http://localhost:1234/opa
Note:
- - do not forget "/opa" that should match with your config.URLBASE
+ - do not forget '/opa' that should match with your config.URLBASE
- if you change --token=xxxx do not forget to update ./Frontend/pages/HomeModules.js
- Force HTML/OPA reload with F5 after each HTML5/OPA update or new pages may not be loaded.
- When reloading HTML/OPA with F5 do not forget that your initial token wont be accepted anymore. You should either restart to clean existing session or cleanup AJB_session cookie.