I'm using Express and I need to use different credentials for each server (staging and production).

I could setup the variables in the server.coffee file but then I'd need to access those variables in different files.

server.coffee:

app.configure 'production', () ->
 app.use express.errorHandler()

What's the solution? Setup the variables and then export them?

Edit
Report