Environmental Management Node.js plugins / methods for Heroku applications?

It seems that my workflow would be improved if I had a way to automatically manage my environment variables so that I could automatically set different sets depending on whether the server is running locally or running on Heroku.

What are my choices? Heroku should use something at its end, because there are variables like local.env.PORT. What do they use? I thought that maybe if I use the same, it will be easier.

+3
source share
2 answers

, Heroku " " , , Node.js.

Foreman . , - Heroku .

Heroku, , :

https://devcenter.heroku.com/articles/config-vars

+2

- figaro, . node-figaro, figaro, , .

0

All Articles