Do not use NODE_ENV for staging

added by JavaScript Kicks
12/31/2018 2:04:10 PM

267 Views

Use a separate environment variable name to avoid NPM tricking you. I write software locally, push it to remote Git server, where if the tests pass it gets deployed to staging environment. If the staging environment works correctly, then I will deploy the software to production.


0 comments