Ghost/core/index.js

16 lines
308 B
JavaScript
Raw Normal View History

// # Ghost bootloader
// Orchestrates the loading of Ghost
// When run from command line.
var server = require('./server');
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
function makeGhost(options) {
options = options || {};
return server(options);
}
module.exports = makeGhost;