mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
3e21940b18
hooking into when ghost has finished loading addresses item 9 in #2078 and makes progress on #2182 - has files that startup ghost return a promise that is resolved once ghost has finished loading - moves getSocket into config file - removes models.reset() as it's not used anywhere - update functions in server startup - remove unused version hash variable
10 lines
270 B
JavaScript
10 lines
270 B
JavaScript
// # 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);
|
|
}); |