Created
November 12, 2012 16:27
-
-
Save pqwy/4060311 to your computer and use it in GitHub Desktop.
basic livescript/express scaffold
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
express = require \express | |
app = express! | |
..set \views, "#__dirname/../views" | |
..use express.static "#__dirname/../pub" | |
app.get '/', (req, res) -> | |
res.render 'index.jade' | |
app.listen 3001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment