mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
06959661c0
- Updated all dev dependencies in the root package.json - Added `--colors` to mocha when called from grunt test:... so that works better - Removed non-unit tests from coverage, because they're just not useful - Updated docker config to generate useful docs again - as a statement of intent, I also updated docs in key files - Setup grunt watch-docs task for documentation writing easyness
15 lines
361 B
JavaScript
15 lines
361 B
JavaScript
// ## Server Loader
|
|
// Passes options through the boot process to get a server instance back
|
|
var server = require('./server');
|
|
|
|
// Set the default environment to be `development`
|
|
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
|
|
|
|
function makeGhost(options) {
|
|
options = options || {};
|
|
|
|
return server(options);
|
|
}
|
|
|
|
module.exports = makeGhost;
|