2013-05-11 20:44:25 +04:00
|
|
|
// # Ghost Configuration
|
|
|
|
|
2013-06-25 15:43:15 +04:00
|
|
|
var path = require('path'),
|
2013-08-06 23:27:56 +04:00
|
|
|
config = {};
|
2013-06-25 15:43:15 +04:00
|
|
|
|
|
|
|
// ## Admin settings
|
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// Default language
|
2013-06-25 15:43:15 +04:00
|
|
|
config.defaultLang = 'en';
|
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// Force i18n to be on
|
2013-06-25 15:43:15 +04:00
|
|
|
config.forceI18n = true;
|
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// ## Themes & Plugins
|
2013-06-25 15:43:15 +04:00
|
|
|
|
2013-06-26 01:44:34 +04:00
|
|
|
// Current active theme
|
2013-06-25 15:43:15 +04:00
|
|
|
config.activeTheme = 'casper';
|
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// Current active plugins
|
2013-07-01 23:24:48 +04:00
|
|
|
config.activePlugins = [
|
2013-08-05 19:11:32 +04:00
|
|
|
'FancyFirstChar'
|
2013-07-01 23:24:48 +04:00
|
|
|
];
|
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// ## Default Navigation Items
|
|
|
|
// Add new objects here to extend the menu output by {{nav}}
|
|
|
|
config.nav = [
|
|
|
|
{
|
|
|
|
// Title is the text shown for this nav item
|
|
|
|
title: 'Home',
|
|
|
|
// Url can be a relative path, or external URL
|
|
|
|
url: '/'
|
|
|
|
}
|
|
|
|
// new items go here
|
|
|
|
];
|
2013-06-25 15:43:15 +04:00
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// ## Environment
|
|
|
|
// **Warning:** Only change the settings below here if you are sure of what you are doing!
|
2013-07-07 19:50:50 +04:00
|
|
|
config.env = {
|
2013-06-25 15:43:15 +04:00
|
|
|
testing: {
|
2013-07-07 19:50:50 +04:00
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 23:02:18 +04:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-test.db')
|
2013-07-07 19:50:50 +04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
url: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-06-25 15:43:15 +04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
travis: {
|
2013-07-07 19:50:50 +04:00
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 23:02:18 +04:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-travis.db')
|
2013-07-07 19:50:50 +04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
url: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-06-25 15:43:15 +04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// Default configuration
|
2013-06-25 15:43:15 +04:00
|
|
|
development: {
|
2013-07-07 19:50:50 +04:00
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 23:02:18 +04:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-dev.db')
|
2013-07-07 19:50:50 +04:00
|
|
|
},
|
2013-07-08 15:39:11 +04:00
|
|
|
debug: false
|
2013-05-17 01:16:09 +04:00
|
|
|
},
|
2013-07-07 19:50:50 +04:00
|
|
|
url: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
|
|
|
}
|
2013-06-25 15:43:15 +04:00
|
|
|
},
|
|
|
|
|
2013-07-07 19:50:50 +04:00
|
|
|
staging: {
|
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 23:02:18 +04:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-staging.db')
|
2013-07-07 19:50:50 +04:00
|
|
|
},
|
|
|
|
debug: false
|
|
|
|
},
|
|
|
|
url: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
|
|
|
}
|
|
|
|
},
|
2013-06-25 15:43:15 +04:00
|
|
|
|
2013-07-07 19:50:50 +04:00
|
|
|
production: {
|
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 23:02:18 +04:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost.db')
|
2013-07-07 19:50:50 +04:00
|
|
|
},
|
|
|
|
debug: false
|
|
|
|
},
|
|
|
|
url: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
|
|
|
}
|
|
|
|
}
|
2013-06-25 15:43:15 +04:00
|
|
|
};
|
2013-05-17 01:16:09 +04:00
|
|
|
|
2013-08-06 23:27:56 +04:00
|
|
|
// Export config
|
2013-06-25 15:43:15 +04:00
|
|
|
module.exports = config;
|