Ghost/index.js

10 lines
263 B
JavaScript
Raw Normal View History

// # Ghost bootloader
// Orchestrates the loading of Ghost
// When run from command line.
var ghost = require('./core'),
errors = require('./core/server/errors');
ghost().otherwise(function (err) {
errors.logErrorAndExit(err, err.context, err.help);
});