Difference between revisions of "How to install"
From AMTech WikiDocs
(→M2MBridge code) |
|||
Line 6: | Line 6: | ||
*Install nodejs https://nodejs.org/en/download/package-manager/ | *Install nodejs https://nodejs.org/en/download/package-manager/ | ||
*Install npm (http://blog.npmjs.org/post/85484771375/how-to-install-npm) | *Install npm (http://blog.npmjs.org/post/85484771375/how-to-install-npm) | ||
− | ==M2MBridge | + | ==M2MBridge installation== |
*Clone git repository (https://github.com/AMTechMX/M2MBridge.git) | *Clone git repository (https://github.com/AMTechMX/M2MBridge.git) | ||
*Delete at /.../M2MBridge/plugins/xxx unneeded plug-ins (optional) | *Delete at /.../M2MBridge/plugins/xxx unneeded plug-ins (optional) | ||
*Install packages for m2mBridge core and plug-ins (https://docs.npmjs.com/cli/install:) | *Install packages for m2mBridge core and plug-ins (https://docs.npmjs.com/cli/install:) | ||
+ | ==M2MBridge execution== | ||
+ | * Customize the bridge configuration, defining the templateId with the bridge instance from DAP to clone | ||
*Execute npm install at: | *Execute npm install at: | ||
**M2MBridge directory - nmp install m2mbridge.js | **M2MBridge directory - nmp install m2mbridge.js | ||
**each plug-in directory | **each plug-in directory |
Revision as of 09:58, 2 May 2016
Os and core components
- Ansible M2MBridge script
- Installs Ubuntu OS
- Installs and configures Bluetooth core libraries
- Give access to node.js binary
- Install nodejs https://nodejs.org/en/download/package-manager/
- Install npm (http://blog.npmjs.org/post/85484771375/how-to-install-npm)
M2MBridge installation
- Clone git repository (https://github.com/AMTechMX/M2MBridge.git)
- Delete at /.../M2MBridge/plugins/xxx unneeded plug-ins (optional)
- Install packages for m2mBridge core and plug-ins (https://docs.npmjs.com/cli/install:)
M2MBridge execution
- Customize the bridge configuration, defining the templateId with the bridge instance from DAP to clone
- Execute npm install at:
- M2MBridge directory - nmp install m2mbridge.js
- each plug-in directory