Beefed up stack #4

Open
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
@kilokeith

I beefed your stack. This is a little closer to the setup I've been rocking. You don't have to pull it, but there's some helpful things in here.

Procfile and jackage.json

Declares node and npm version, so that Heroku will give you the latest.
Updated Express to latest.
Rather than precompiling coffee into js, procfile will call coffee directly. It'll just precompile in memory first time it's loaded, so there's really no overhead to doing this.

konphyg and setup

Added in konphyg to handle app settings and whatev, while merging environment specific configs
Moved Express setup out of the main server file (since it's large and mostly static) and into it's own setup method. It's using konphyg and Heroku environment overrides.

jade helpers

Slugged in a stub for adding helpers into Jade. So you can call methods in your views to reduce logic.

views

Closed issue #2 br removing extra body tag from index.jade

Keith Hoffmann added some commits Jun 18, 2012

@leemartin

This comment has been minimized.

Show comment
Hide comment
@leemartin

leemartin Jun 18, 2012

Owner

Thanks dude, will dig into this!

Owner

leemartin commented Jun 18, 2012

Thanks dude, will dig into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment