npm install 2lemetry
|16||downloads in the last month|
|Version||0.0.7 last updated 5 months ago|
|Keywords||2lemetry, m2m, api, swagger, tcp, mqtt, angular, cassandra|
|Dependencies (31)||commander, coffee-script, connect, express, foreman, jade, bower, async, readdirp, restler, underscore, fs-extra, helenus, memcache, node-uuid, ejs, mqtt, watch, browserify, coffeeify, uglify-js, clean-css, node-minify, mocha, should, ntwitter, node-schedule, knox, redis, request, winston|
This toolkit aims to help bootstrap web applications built on top of the 2lemetry platform quickly and efficiently, as well as expose some internal tools we think are cool. Node.js was selected because of its development speed and monolingual format.
Comments and questions can be submitted via
Issues or at help.m2m.io.
This toolkit is considered alphawhare. You are warned.
Just make it so.
Install the toolkit from NPM:
sudo npm install -g 2lemetry
Note: The dependency list, though large, is just propogated to all libraries which require it for KISS reasons.
Install the toolkit from bower:
bower install 2lemetry
Most of the libraries baked goods are aggregated into a sample application built on AngularJS, and all are accessible via the command line.
The toolkit makes it easy to develop on top of the sample application using Jade and CoffeeScript, and Node.js is only
used to compile our static assets using "development" or "production" standards, then serve them. The
public/ folder is meant to be pushed to any static endpoint, such as a CDN.
- Create an application with authentication.
2lemetry angularme --name="My App" cd my_app
All of the libraries use the same HTTP server, which runs in two modes:
It follows suit from the Play! Framework, correlating "run" with "development" and "start" with "production".
By default, the server uses port
80, unless otherwise specified.
- Run the app server in "development" mode.
- Generate the 2lemetry app template.
- Compile CoffeeScript and Jade.
- Alert via terminal-notifier.
- Browser refresh.
If you wish to hack on this library:
2lemetry dev setup cd node-2lemetry npm install
- Clone the
- Install necessary assets.
Build API Documentation
cd api 2lemetry swaggerme
- Run the SocketMQ server in "development" mode.
cd socketmq 2lemetry run --port=3001