Browse files

Completed instructions for deploying on nodejitsu with a database.

  • Loading branch information...
1 parent 0adc463 commit 0a5c947bad43123055d5379ce73e19812ef0cc21 @davidbanham davidbanham committed Mar 12, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -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

0 comments on commit 0a5c947

Please sign in to comment.