bewest/drywall — pull request #1 by bewest (2014-09-15 21:34:16+00:00)
Title: Bewest/nightscout/init - reusable module

This more or less makes drywall installable and usable as an npm module.

This could be used to allow applications to include a lot of this as npm boilerplate, and enable via simple api calls, keeping applications themselves centered on the business logic of the app instead of administrivia details like users, authentication, and authorization. This is especially true if the module can be made flexible enough to accept multiple view path lookups, and perhaps a facility to tweak the models.

The big change is in providing a cli tool, which will live in `./node_modules/.bin/drywall-compile`. The project using drywall should run this script from the root of the repo, the `public` directory affected will be `./node_modules/Drywall/public`.