2013-08-17 07:17:32 +08:00
|
|
|
// This is a simple wrapper to run the app with 'node app.js'
|
2012-09-08 03:02:21 +08:00
|
|
|
|
2013-08-17 07:17:32 +08:00
|
|
|
require("coffee-script");
|
2012-09-08 03:02:21 +08:00
|
|
|
|
2013-08-17 07:17:32 +08:00
|
|
|
// Start the server
|
|
|
|
app = require('./app.coffee');
|
2012-09-08 03:02:21 +08:00
|
|
|
app.listen(3000, function() {
|
|
|
|
console.log("Express server listening on port %d in %s mode", app.address().port, app.settings.env);
|
|
|
|
});
|