2013-05-11 17:44:25 +01:00
|
|
|
// # Ghost Configuration
|
|
|
|
|
2013-06-25 12:43:15 +01:00
|
|
|
var path = require('path'),
|
2013-08-06 20:27:56 +01:00
|
|
|
config = {};
|
2013-06-25 12:43:15 +01:00
|
|
|
|
2013-08-06 20:27:56 +01: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 12:43:15 +01:00
|
|
|
|
2013-08-06 20:27:56 +01:00
|
|
|
// ## Environment
|
|
|
|
// **Warning:** Only change the settings below here if you are sure of what you are doing!
|
2013-07-07 16:50:50 +01:00
|
|
|
config.env = {
|
2013-06-25 12:43:15 +01:00
|
|
|
testing: {
|
2013-07-07 16:50:50 +01:00
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 20:02:18 +01:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-test.db')
|
2013-07-07 16:50:50 +01:00
|
|
|
}
|
|
|
|
},
|
2013-09-02 15:49:57 +01:00
|
|
|
server: {
|
2013-07-07 16:50:50 +01:00
|
|
|
host: '127.0.0.1',
|
2013-08-29 18:55:39 +01:00
|
|
|
port: '2369'
|
2013-09-02 15:49:57 +01:00
|
|
|
},
|
|
|
|
// The url to use when providing links to the site; like RSS and email.
|
|
|
|
url: 'http://127.0.0.1:2369'
|
2013-06-25 12:43:15 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
travis: {
|
2013-07-07 16:50:50 +01:00
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 20:02:18 +01:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-travis.db')
|
2013-07-07 16:50:50 +01:00
|
|
|
}
|
|
|
|
},
|
2013-09-02 15:49:57 +01:00
|
|
|
server: {
|
2013-07-07 16:50:50 +01:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 15:49:57 +01:00
|
|
|
},
|
|
|
|
// The url to use when providing links to the site; like RSS and email.
|
|
|
|
url: 'http://127.0.0.1:2368'
|
2013-06-25 12:43:15 +01:00
|
|
|
},
|
|
|
|
|
2013-08-06 20:27:56 +01:00
|
|
|
// Default configuration
|
2013-06-25 12:43:15 +01:00
|
|
|
development: {
|
2013-07-07 16:50:50 +01:00
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 20:02:18 +01:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-dev.db')
|
2013-07-07 16:50:50 +01:00
|
|
|
},
|
2013-07-08 12:39:11 +01:00
|
|
|
debug: false
|
2013-05-16 22:16:09 +01:00
|
|
|
},
|
2013-09-02 15:49:57 +01:00
|
|
|
server: {
|
2013-07-07 16:50:50 +01:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 15:49:57 +01:00
|
|
|
},
|
|
|
|
// The url to use when providing links to the site; like RSS and email.
|
2013-09-04 16:15:21 +01:00
|
|
|
url: 'http://127.0.0.1:2368',
|
|
|
|
// Example mail config
|
|
|
|
mail: {
|
|
|
|
transport: 'sendgrid',
|
|
|
|
host: 'smtp.sendgrid.net',
|
|
|
|
options: {
|
|
|
|
service: 'Sendgrid',
|
|
|
|
auth: {
|
|
|
|
user: '', // Super secret username
|
|
|
|
pass: '' // Super secret password
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-06-25 12:43:15 +01:00
|
|
|
},
|
|
|
|
|
2013-07-07 16:50:50 +01:00
|
|
|
staging: {
|
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 20:02:18 +01:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost-staging.db')
|
2013-07-07 16:50:50 +01:00
|
|
|
},
|
|
|
|
debug: false
|
|
|
|
},
|
2013-09-02 15:49:57 +01:00
|
|
|
server: {
|
2013-07-07 16:50:50 +01:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 15:49:57 +01:00
|
|
|
},
|
|
|
|
// The url to use when providing links to the site; like RSS and email.
|
|
|
|
url: 'http://127.0.0.1:2368'
|
2013-07-07 16:50:50 +01:00
|
|
|
},
|
2013-06-25 12:43:15 +01:00
|
|
|
|
2013-07-07 16:50:50 +01:00
|
|
|
production: {
|
|
|
|
database: {
|
|
|
|
client: 'sqlite3',
|
|
|
|
connection: {
|
2013-07-11 20:02:18 +01:00
|
|
|
filename: path.join(__dirname, '/core/server/data/ghost.db')
|
2013-07-07 16:50:50 +01:00
|
|
|
},
|
|
|
|
debug: false
|
|
|
|
},
|
2013-09-02 15:49:57 +01:00
|
|
|
server: {
|
2013-07-07 16:50:50 +01:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 15:49:57 +01:00
|
|
|
},
|
|
|
|
// The url to use when providing links to the site; like RSS and email.
|
|
|
|
url: 'http://127.0.0.1:2368'
|
2013-07-07 16:50:50 +01:00
|
|
|
}
|
2013-06-25 12:43:15 +01:00
|
|
|
};
|
2013-05-16 22:16:09 +01:00
|
|
|
|
2013-08-06 20:27:56 +01:00
|
|
|
// Export config
|
2013-09-01 00:20:12 +02:00
|
|
|
module.exports = config;
|