diff --git a/config.example.js b/config.example.js index 888511cae2..d75dc3757c 100644 --- a/config.example.js +++ b/config.example.js @@ -6,10 +6,32 @@ var path = require('path'), config; config = { + // ### Production + // When running Ghost in the wild, use the production environment + // Configure your URL and mail settings here + production: { + url: 'http://my-ghost-blog.com', + mail: {}, + database: { + client: 'sqlite3', + connection: { + filename: path.join(__dirname, '/content/data/ghost.db') + }, + debug: false + }, + server: { + // Host to be passed to node's `net.Server#listen()` + host: '127.0.0.1', + // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT` + port: '2368' + } + }, + // ### Development **(default)** development: { // The url to use when providing links to the site, E.g. in RSS and email. - url: 'http://my-ghost-blog.com', + // Change this to your Ghost blogs published URL. + url: 'http://localhost:2368', // Example mail config // Visit http://support.ghost.org/mail for instructions @@ -44,27 +66,6 @@ config = { } }, - // ### Production - // When running Ghost in the wild, use the production environment - // Configure your URL and mail settings here - production: { - url: 'http://my-ghost-blog.com', - mail: {}, - database: { - client: 'sqlite3', - connection: { - filename: path.join(__dirname, '/content/data/ghost.db') - }, - debug: false - }, - server: { - // Host to be passed to node's `net.Server#listen()` - host: '127.0.0.1', - // Port to be passed to node's `net.Server#listen()`, for iisnode set this to `process.env.PORT` - port: '2368' - } - }, - // **Developers only need to edit below here** // ### Testing