Skip to content

Commit

Permalink
Change default blog URL for development.
Browse files Browse the repository at this point in the history
* Move `production` section above `development`.
  • Loading branch information
rwjblue committed Aug 10, 2014
1 parent d210e40 commit 12c0fa7
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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://docs.ghost.org/mail for instructions
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 12c0fa7

Please sign in to comment.