Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

2lemetry

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2lemetry

2lemetry toolkit.

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

node-2lemetry

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.

Note:

This toolkit is considered alphawhare. You are warned.

Pre-reqs

Just make it so.

  1. Node.js, version 0.10.12.
  2. Ruby
  3. Terminal Notifier, installed as: sudo gem install terminal-notifier.

Install

  • Node.js.

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.

  • Client.

Install the toolkit from bower:

bower install 2lemetry

Usage

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:

  • development
  • production

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.
2lemetry run

This will:

  • Generate the 2lemetry app template.
  • Compile CoffeeScript and Jade.
  • Alert via terminal-notifier.
  • Browser refresh.

Developing

If you wish to hack on this library:

2lemetry dev setup
cd node-2lemetry
npm install

This will:

  • Clone the node-2lemetry repository.
  • Install necessary assets.

Build API Documentation

  • Generate the v2 JavaScript interface from swagger docs.
cd api
2lemetry swaggerme

Run SocketMQ

  • Run the SocketMQ server in "development" mode.
cd socketmq
2lemetry run --port=3001

Keywords

FAQs

Package last updated on 17 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc