Skip to content

Commit

Permalink
Updated documentation again
Browse files Browse the repository at this point in the history
this time to not include the invalid env variable for IP, and also to not include the production.js bit as its not uncommented by default.
  • Loading branch information
mikedevita committed Feb 14, 2013
1 parent eeeffcb commit 890dd01
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions docs/8-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,6 @@ Add a `package.json` file to your app's root directory
}
```

Edit the `config/production.js` file and delete/comment the following lines(port, hostname)
```javascript
var config = {
//port: '3000',
// hostname: '0.0.0.0'
};

```
Add a `app.js` javascript file to your app's root directory, the configs set in this will override `production.js`
Expand All @@ -91,7 +84,7 @@ Add a `app.js` javascript file to your app's root directory, the configs set in
var geddy = require('geddy');
geddy.startCluster({
hostname: process.env.IP || '127.0.0.1',
hostname: '0.0.0.0',
port: process.env.PORT || '3000',
// you can manually set this to production, or set an environment variable via heroku..
environment: 'production'
Expand Down

0 comments on commit 890dd01

Please sign in to comment.