Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"name": "myapp",
....
"env": {
"NODE_ENV": "staging",
"MY_DB_URL": "https://...."
}
}
@willSonic

This comment has been minimized.

Copy link

commented Feb 21, 2014

// 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
You can’t perform that action at this time.