nodejitsu: changes necessary to run on jitsu

nodejitsu: database credentials (reset this commit!) & remove derby-ui-boot, just use bootstrap
This commit is contained in:
Tyler Renelle
2012-07-09 16:59:10 -04:00
parent 788646aac9
commit 0f8b7d48bd
8 changed files with 1163 additions and 5 deletions
+1
View File
@@ -29,6 +29,7 @@ publicPath = path.join root, 'public'
# Derby session middleware creates req.model and subscribes to _session
.use(express.cookieParser 'secret_sauce')
.use(express.session
secret: 'secret_sauce'
cookie: {maxAge: ONE_YEAR}
store: new MongoStore(db: 'habitrpg', collection: 'express-sessions')
)