Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A scaffolding command line tool for Meteor applications.
JavaScript
branch: master

This branch is 1 commit ahead, 243 commits behind iron-meteor:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore
README.md
package.json

README.md

em

A command line scaffolding tool for Meteor applications. It automatically creates project structure, files and boilerplate code. The project structure mimics that of the EventedMind publishing platform.

Installation

Install the em command line tool globally so you can use it from any project directory.

$ npm install -g meteor-em

Pre-Reqs

You'll want to have Iron Router installed. Also, this command line tool just handles scaffolding for now. mrt and meteor are different command line tools. Hopefully, sometime in the near future we can enhance the meteor command line tool to be pluggable!

Usage

Just type em from the command line and you'll see the various top level commands. Then type em generate or em g to see a list of generators.

You can initialize your project structure like this:

$ em init

Then you can generate various resources. Here are a few examples:

$ em g:scaffold todos
$ em g:view todos/todo_item
$ em g:controller webhooks/stripe --where "server"
$ em g:route todos/todo_show

Contributing

This is an early alpha project and any thoughts and contributions are welcome.

License

MIT

Something went wrong with that request. Please try again.