GitXplorerGitXplorer
l

simple-hogan

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
4de2bec8b37fff96c2127ad05fd2aae60e10173e

updating package

lliamondrop committed 12 years ago
Unverified
b40a310c428ad3e97c8a6181048c70e335bcd44b

cleaner file path

lliamondrop committed 12 years ago
Unverified
d2a25b9d5de7040a4a01bd9bd1a99366b5de57b0

removes equalses

lliamondrop committed 12 years ago
Unverified
f850324aaa579d396bca6a44b2361d68c7129bd6

update readme + package

lliamondrop committed 12 years ago
Unverified
1a614d7877ff4dc33abfccefa7f38d7b7e1f835d

update package for npm

lliamondrop committed 12 years ago
Unverified
1cc66fcaec1074f1a2726bf8015ab674f79df9c8

deprivatize

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.