Skip to content

Instantly share code, notes, and snippets.

@dkolba
Created February 19, 2013 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkolba/4990645 to your computer and use it in GitHub Desktop.
Save dkolba/4990645 to your computer and use it in GitHub Desktop.
Basic flatiron app with st as static file server
var flatiron = require("flatiron")
, app = flatiron.app
app.use(flatiron.plugins.http);
app.use(flatiron.plugins.static, {
root: __dirname + '/public'
});
app.start(8080);
console.log('union with director running on 8080');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment