Refactor server and lib into separate folders.

This commit is contained in:
Taylor Russ 2014-10-05 20:24:12 -07:00
parent f68b4a5ca8
commit 210b0aef27
8 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
web: node app.js web: node server/app.js

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
nohup hotnode app.js & nohup hotnode server/app.js &

View File

@ -6,7 +6,7 @@ var express = require('express')
, exec = require('child_process').exec , exec = require('child_process').exec
, spawn = require('child_process').spawn , spawn = require('child_process').spawn
, Stream = require('stream') , Stream = require('stream')
, providers = require('./providers.js') , providers = require('../lib/providers.js')
, redis = require('redis-url').connect() , redis = require('redis-url').connect()
// Optional modules // Optional modules