mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
parent
1813d1815d
commit
35f12273ee
2 changed files with 4 additions and 9 deletions
|
@ -23,9 +23,9 @@ module.exports.check = function healthCheck() {
|
|||
}
|
||||
|
||||
throw new errors.DatabaseVersionError({
|
||||
message: 'Your database version is not compatible with Ghost 1.0.0 Beta (master branch)',
|
||||
message: 'Your database version is not compatible with Ghost 1.0.0 (master branch)',
|
||||
context: 'Want to keep your DB? Use Ghost < 1.0.0 or the "stable" branch. Otherwise please delete your DB and restart Ghost.',
|
||||
help: 'More information on the Ghost 1.0.0 Alpha at https://docs.ghost.org/v1.0.0/docs/alpha-and-beta-versions'
|
||||
help: 'More information on the Ghost 1.0.0 at https://docs.ghost.org/docs/introduction'
|
||||
});
|
||||
})
|
||||
.catch(function (err) {
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// Handles the creation of an HTTP Server for Ghost
|
||||
var debug = require('debug')('ghost:server'),
|
||||
Promise = require('bluebird'),
|
||||
chalk = require('chalk'),
|
||||
fs = require('fs'),
|
||||
path = require('path'),
|
||||
_ = require('lodash'),
|
||||
|
@ -193,14 +192,10 @@ GhostServer.prototype.closeConnections = function () {
|
|||
GhostServer.prototype.logStartMessages = function () {
|
||||
// Startup & Shutdown messages
|
||||
if (config.get('env') === 'production') {
|
||||
logging.error('\nCurrently running Ghost 1.0.0 Beta, this is NOT suitable for production!\n' +
|
||||
chalk.white('Please switch to the stable branch. \n') +
|
||||
chalk.white('More information on the Ghost 1.0.0 Beta at: ') + chalk.cyan('https://dev.ghost.org/1-0-0-beta') + '\n'
|
||||
);
|
||||
|
||||
logging.info(i18n.t('notices.httpServer.ghostIsRunningIn', {env: config.get('env')}));
|
||||
logging.info(i18n.t('notices.httpServer.yourBlogIsAvailableOn', {url: utils.url.urlFor('home', true)}));
|
||||
logging.info(i18n.t('notices.httpServer.ctrlCToShutDown'));
|
||||
} else {
|
||||
logging.warn('Welcome to the Ghost 1.0.0 Beta - this version of Ghost is for development only.');
|
||||
logging.info(i18n.t('notices.httpServer.ghostIsRunningIn', {env: config.get('env')}));
|
||||
logging.info(i18n.t('notices.httpServer.listeningOn', {
|
||||
host: config.get('server').socket || config.get('server').host,
|
||||
|
|
Loading…
Add table
Reference in a new issue