The-M-Projects build tools using node.js.
JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
core
deploy
docs used image for wiki Feb 18, 2011
frameworks
generator
lib
node_modules
submodules/git-wip-us.apache.org/repos/asf
tasks
test/server
.gitignore
.gitmodules
GPL-LICENSE
LICENSE
MIT-LICENSE
README.md
changelog.txt
nodelintconfig.js
package.json

README.md

Espresso README

Espresso: The-M-Project 1.x build tools using node.js

Installation

Prerequesites

To install espresso you need Node.js >= 0.4 and either git or npm.

Install via NPM

You can install espresso with the help of NPM:

npm install espresso -g

The "-g" option is needed for npm >= 1.0.

Install via git

If you don't want to use NPM, you can check out the project with git, init the submodules and create an alias.

  1. Install node.js. see description here
  2. Checkout Espresso:

    git clone https://github.com/mwaylabs/Espresso.git

  3. Initialize submodules:

    git submodule update --init

  4. Create an alias:

    alias espresso='/path/to/Espresso/bin/espresso.js'

Usage

  1. Create a new HelloWorld project:

    espresso init --project HelloWorld --example

  2. Build it:

    cd HelloWorld && espresso build

  3. Run the development server:

    espresso server

  4. Generate new files

    espresso generate -c testcontroller -v testview -m testmodel

This command will generate a new model, a new view and a new controller.

Installing node.js on Windows

Read the instructions here

Licensing

All license information about Espresso and used third-party components can be found in the LICENSE file, Or in the concrete third-party component.