Skip to content

Commit

Permalink
Completed instructions for deploying on nodejitsu with a database.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbanham committed Mar 12, 2012
1 parent 0adc463 commit 0a5c947
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -46,6 +46,10 @@ Deployment
### Nodejitsu
To deploy to Nodejitsu, update the `name` and `subdomain` values in `package.json` to the appropriate values for your app. Then:

$ jitsu databases create mongo subway

Now change the line `mongoose.connect('mongodb://localhost/subway');` in lib/irchandler.js to the connect URI you got back from jitsu. Then:

$ jitsu env set PORT 80
$ jitsu deploy

Expand Down

0 comments on commit 0a5c947

Please sign in to comment.