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
|
|
|
|
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
|
|
|
}
|
|
|
|
},
|
2013-09-02 18:49:57 +04:00
|
|
|
server: {
|
2013-07-07 19:50:50 +04:00
|
|
|
host: '127.0.0.1',
|
2013-08-29 21:55:39 +04:00
|
|
|
port: '2369'
|
2013-09-02 18:49:57 +04: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 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
|
|
|
}
|
|
|
|
},
|
2013-09-02 18:49:57 +04:00
|
|
|
server: {
|
2013-07-07 19:50:50 +04:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 18:49:57 +04: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 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-09-02 18:49:57 +04:00
|
|
|
server: {
|
2013-07-07 19:50:50 +04:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 18:49:57 +04:00
|
|
|
},
|
|
|
|
// The url to use when providing links to the site; like RSS and email.
|
2013-09-04 19:15:21 +04: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 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
|
|
|
|
},
|
2013-09-02 18:49:57 +04:00
|
|
|
server: {
|
2013-07-07 19:50:50 +04:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 18:49:57 +04: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 19:50:50 +04:00
|
|
|
},
|
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
|
|
|
|
},
|
2013-09-02 18:49:57 +04:00
|
|
|
server: {
|
2013-07-07 19:50:50 +04:00
|
|
|
host: '127.0.0.1',
|
|
|
|
port: '2368'
|
2013-09-02 18:49:57 +04: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 19:50:50 +04:00
|
|
|
}
|
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-09-01 02:20:12 +04:00
|
|
|
module.exports = config;
|