X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=afb-client%2FREADME.md;h=4e0796fbef88e8f6446e5b46842ea169a826aae0;hb=12a3520ba440316c76b95d92a684666f03f7b47d;hp=6b628da0960506ec252f251bac076e7a89d10a18;hpb=475508baa9f0b21087eb85048d51af342aa09692;p=src%2Fapp-framework-demo.git diff --git a/afb-client/README.md b/afb-client/README.md index 6b628da..4e0796f 100644 --- a/afb-client/README.md +++ b/afb-client/README.md @@ -1,3 +1,8 @@ +### Sample client application for Application Framework Binder + +![AFB-Client screenshot](http://iot.bzh/images/afb-client.jpg) + +_(Application Framework Binder can be found on https://github.com/iotbzh/afb-daemon)_ ## Installation @@ -7,8 +12,8 @@ Install HTML5 development toolchain on your host git clone https://github.com/iotbzh/afb-client.git 2) Install NodeJs [not used on target] - zypper install nodejs - yum install nodejs + zypper install nodejs + yum install nodejs 3) Install building tools [bower, gulp, ....] npm install # this install all development tool chain dependencies @@ -57,8 +62,11 @@ Install HTML5 development toolchain on your host ### Move to Target cd $MYWORKSPACE/afb-client gulp build-app-prod - scp -r ./dist.pro/* user@mytarget:/rootdir/apfDaemon + scp -r ./dist.prod/* user@mytarget:/rootdir/afb-client + ssh user@mytarget "afb-daemon --port=3001 --token='' --rootdir=/rootdir/afb-client" + http://mytarget:3001/opa +### Directory structure /AppClient | |---- package.json @@ -95,4 +103,3 @@ Install HTML5 development toolchain on your host |---- (/dist.dev) |---- (/dist.prod) - \ No newline at end of file