Meteor

https://www.meteor.com/

Web (server and client) framework.

Includes :
 * Client side : MiniMongo (client-side database), Meteor API ...
 * Server side : Node.js, MongoDB, Meteor API ...
 * Communication: DDP

Remark: Meteor only supports i686 and x86_64 for now but ...

Extra:
 * Meteor Pad http://meteorpad.com

=Quickstart= Doc is here https://docs.meteor.com/#/basic/quickstart

Install Meteor:

curl https://install.meteor.com | /bin/sh

Create and run a new project:

Add packages (listed on http://www.atmospherejs.com/)

Launch the app in Meteor

Browse http://localhost:3000/

Deployment sur le cloud Meteor

Meteor on Raspberry Pi
http://www.ianbuildsapps.com/running-meteor-js-on-raspbian-on-the-raspberry-pi/

=Production Deployment=

With MUP (Meteor Up)
Meteor Up (mup for short) is a command line tool that allows you to deploy any Meteor app to your own server.

Install mup npm install -g mup

=Create a package=


 * https://atmospherejs.com/i/publishing
 * https://meteor.hackpad.com/Unipackage-tvas8pXYMOW

=Use NPM modules= Ajouter le package meteorhacks:npm meteor add meteorhacks:npm

Créer un nouveau fichier ./package.json avec le contenu (la version doit être exacte : pas d’expression npm du type ^ >= ..) { "serialport": "2.0.2" }

Installer le module npm install serialport

Ajouter à server/app.js la ligne suivante var SerialPort = Meteor.npmRequire('serialport');

=Performance Monitoring=

meteor-ddp-analyzer
meteor-ddp-analyzer trace les échanges Distributed Data Protocol entre le serveur et le browser web.

Dans un terminal, installer et lancer le proxy DDP sudo npm install -g ddp-analyzer ddp-analyzer-proxy

Dans un terminal, lancer le serveur Meteor export DDP_DEFAULT_CONNECTION_URL=http://localhost:3030 meteor run

Naviguer sur http://localhost:3000

Kadira


Kadira is a performance monitoring for Meteor.

https://kadira.io/#features

Installation
Créez un compte gratuit via votre id Meteor.

meteor add meteorhacks:kadira

export KADIRA_APP_ID=YOUR_ID export KADIRA_APP_SECRET=YOUR_APP_SECRET

=Load and Stress Testing= https://bulletproofmeteor.com/architecture/load-and-stress-testing

=Docker= https://bulletproofmeteor.com/architecture/docker-and-meteor

=Clustering= https://github.com/meteorhacks/cluster

=Books=
 * Meteor in Action, Mannings, http://www.manning.com/hochhaus/
 * Discover Meteor, http://fr.discovermeteor.com

=Meteor @ AIR=
 * IaaS collaboratif avec Docker (RICM5 en 2015-2016)
 * OpenSmartCampus (RICM5 en 2015-2016)