/pebblejs-meteor

A subset of Meteor for Pebble.js

Primary LanguageJavaScript

Meteor for Pebble.js

Use Meteor Collections and DDP in your Pebble.js apps!

This repository hosts a Pebble.js Meteor module generator. The generated module is for use in Pebble.js apps.

Using the Meteor module

Check out the Pebble.js Meteor Leaderboard example which has a prebuilt meteor.js module under src which you can readily use.

Generate your own Meteor module

  1. Specify the meteor packages you want to include in .meteor/packages
  2. Generate the meteor site bundle with meteor bundle --directory .bundle
  3. Generate the Pebble.js package with node .bundle.js
  4. Include meteor.js module in your Pebble.js app