snipette-ghost/server.js

9 lines
236 B
JavaScript
Raw Normal View History

var ghost = require('ghost');
// Run a single Ghost process
ghost()
.then( ghostServer => ghostServer.start() )
.catch( error => {
console.error(`Ghost server error: ${error.message} ${error.stack}`);
process.exit(1);
});