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.
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.
If you wish to hack on this library:
2lemetry dev setupcd node-2lemetrynpm install
cd api2lemetry swaggerme
cd socketmq2lemetry run --port=3001