diff --git a/Procfile b/Procfile index e1d4131..528737e 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: node app.js +web: node server/app.js diff --git a/providers.js b/lib/providers.js similarity index 100% rename from providers.js rename to lib/providers.js diff --git a/scripts/start.sh b/scripts/start.sh index c332e85..46fe802 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1,3 +1,3 @@ #!/bin/sh -nohup hotnode app.js & +nohup hotnode server/app.js & diff --git a/app.js b/server/app.js similarity index 99% rename from app.js rename to server/app.js index 1867843..f31e660 100644 --- a/app.js +++ b/server/app.js @@ -6,7 +6,7 @@ var express = require('express') , exec = require('child_process').exec , spawn = require('child_process').spawn , Stream = require('stream') - , providers = require('./providers.js') + , providers = require('../lib/providers.js') , redis = require('redis-url').connect() // Optional modules diff --git a/banned_numbers_example.js b/server/banned_numbers_example.js similarity index 100% rename from banned_numbers_example.js rename to server/banned_numbers_example.js diff --git a/keys_example.json b/server/keys_example.json similarity index 100% rename from keys_example.json rename to server/keys_example.json diff --git a/mixpanel_config_example.js b/server/mixpanel_config_example.js similarity index 100% rename from mixpanel_config_example.js rename to server/mixpanel_config_example.js diff --git a/views/index.html b/server/views/index.html similarity index 100% rename from views/index.html rename to server/views/index.html