Skip to content

Commit

Permalink
Trying to get to deploy to nodejitsu
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Fairchild committed Feb 5, 2012
1 parent a16372b commit c139291
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
10 changes: 4 additions & 6 deletions app.js
Expand Up @@ -6,15 +6,13 @@ var http = require('http')
ss.client.define('chat', {
view: 'chat.jade',
css: ['libs', 'chat.styl'],
code: ['libs', 'modules', 'chat']
code: ['libs', 'modules', 'main']
});

ss.session.store.use('redis', {redis: {host: 'localhost', port: 6379}});
ss.publish.transport.use('redis', {redis: {host: 'localhost', port: 6379}});
// ss.session.store.use('redis', {redis: {host: 'localhost', port: 6379}});
// ss.publish.transport.use('redis', {redis: {host: 'localhost', port: 6379}});

ss.ws.transport.use('socketio', {io: function(io){
io.set('log_level', 4)
}})
ss.ws.transport.use('socketio')

ss.http.router.on('/chat', function(req, res) {
res.serve('chat');
Expand Down
20 changes: 15 additions & 5 deletions package.json
@@ -1,14 +1,24 @@
{
"name": "scrips",
"description": "An awesome real time application",
"version": "0.0.1",
"description": "Boilerplate starting point for a socketstream app.",
"version": "0.0.1-8",
"author": "Me <me@mydomain.com>",
"private": true,
"engines": { "node": ">= 0.6.0" },
"engines": {
"node": ">= 0.6.0"
},
"dependencies": {
"ss-coffee": "0.1.x",
"ss-stylus": "0.1.x",
"ss-jade": "0.1.x",
"ss-hogan": "0.1.x"
"ss-hogan": "0.1.x",
"socketstream": ">= undefined"
},
"bundleDependencies": [
"socketstream"
],
"subdomain": "scrips",
"scripts": {
"start": "app.js"
}
}
}

0 comments on commit c139291

Please sign in to comment.