Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 879 Bytes
isNode = typeof module isnt 'undefined' and module.exports
module.exports = (object)->
object.settings =
urls:
assets: "https://thievishfilms.s3.amazonaws.com"
db_production: "mongodb://jasonkuhrt:314314Dd@flame.mongohq.com:27077/app2055322"
db_local: "localhost/vanyarose"
credentials:
tumblr:
hostname: "vanyarose.tumblr.com"
key: "oD6Wg7VpMJNgswDjE6TBzvhhLsgX1jP1kNjvwgCXhQBEOgRZgt"
secret: "0y2aZPuJLL7YU7zhxhyZk35G3Urlq1is3yYL8IWsAYGykmW5kO"
directories:
public: "#{__dirname}/public"
if isNode
object.settings.urls.db = process.env.MONGOHQ_URL or object.settings.urls.db_production
object.settings.port = process.env.PORT or 9898
object.settings.env = process.env.NODE_ENV or 'production'
if process.env.NODE_ENV is 'development'
object.settings.urls.db = object.settings.urls.db_local