GitXplorerGitXplorer
l

simple-hogan

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
9ddb97c67fd632c172a648e19ebd9a6f83b300a6

oops

lliamondrop committed 12 years ago
Unverified
5ce3822577f0cd9799f10ff1dd9ee044c6668fb4

remove githead from package.json

lliamondrop committed 12 years ago
Unverified
ff17331d789ea152f92cdc0f9638915b15211518

freeze express version & bump simple-hogan version

lliamondrop committed 12 years ago
Unverified
ee0a4a09e35e4660e0b341f636c91dbadab4e75a

var tweaks

lliamondrop committed 12 years ago
Unverified
b896f6fc8d83c12a9c9ce33e7d908481a0ee7d7b

Update README.md

lliamondrop committed 12 years ago
Unverified
217dac58ada813581fa57757fe4a68362e7d8418

Update README.md

lliamondrop committed 12 years ago

README

The README file for this repository.

simple-hogan

Simple Express Middleware for Hogan.js

Getting started

Once you've installed Node.js & npm, you'll need to create a project directory.

$ mkdir new-project

Next, create a package.json file in your directory. Something like this should work:

{
  "name": "new-project",
  "description": "A new project using express + hogan.js for templating",
  "version": "0.0.1",
  "private": true,
  "dependencies": {
    "simple-hogan": "*"
  }
}

Rather than "*", you can run this to get the latest version:

$ npm info simple-hogan version

Finally, ...

$ npm install

This should install simple-hogan, hogan.js and express. The example directory in the simple-hogan module has a small example project to get you started. Typing npm start in the project directory should get this running for you.