Skip to content

Commit

Permalink
port changes for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvid Kahl committed Sep 14, 2013
1 parent b0d9db9 commit dcf7cb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config = {}

config.appPort = process.env.port || process.env.SPARK_APPPORT
config.appPort = process.env.PORT || process.env.port || 5000 || process.env.SPARK_APPPORT
config.mainDBPort = process.env.SPARK_MAINDBPORT || 5984
config.sessionDBHost = config.mainDBHost = process.env.SPARK_MAINDBHOST || 'localhost'
config.sessionDBUser = config.mainDBUser = process.env.SPARK_MAINDBUSER || 'username'
Expand All @@ -13,7 +13,7 @@ config.twitterConsumerSecret = process.env.SPARK_TWITTERCONSUMERSECRET || 'twitt

module.exports = config

# views for the user database
# views for the user database
# "all": {
# "map": "function(doc) { emit(doc._id, doc);}"
# },
Expand All @@ -22,8 +22,8 @@ module.exports = config
# },
# "byTwitterId": {
# "map": "function(doc) {if(doc.twitter.id) emit(doc._id,doc); }"
#
# view for scene database
#
# view for scene database
# "all": {
# "map": "function(doc) {\n emit(null, doc);\n}"
# },
Expand Down

0 comments on commit dcf7cb1

Please sign in to comment.