0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/index.js

10 lines
270 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/errorHandling');
ghost().otherwise(function (err) {
errors.logErrorAndExit(err, err.context, err.help);
});