Skip to content

Instantly share code, notes, and snippets.

@julianduque
Created February 21, 2014 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianduque/ff14b42998bd3181c121 to your computer and use it in GitHub Desktop.
Save julianduque/ff14b42998bd3181c121 to your computer and use it in GitHub Desktop.
{
"name": "myapp",
....
"env": {
"NODE_ENV": "staging",
"MY_DB_URL": "https://...."
}
}
@willSonic
Copy link

// port: process.env.PORT || 1344,
port:80,
//host: process.env.SUBDOMAIN || '',
host:'nocsonic.jit.su',

//environment: process.env.NODE_ENV || 'development',

environment:'production',

so above is a snippet from local.js

in my package.json
{
"name": "myapp",
....
"env": {
"NODE_ENV": "development",
"SUBDOMAIN": "https://...."
"PORT": "80"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment