Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to set env variable in Heroku with Node.js?

How to set env variable Heroku with Node.js? I opened Heroku account but unable to find out the possible solution to set my env variables up.

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

There are different ways to set it up. You can either use the Heroku CLI to update the same. In your command line, after installing the Heroku cli,

Run
heroku config:set ENV_VARIABLE=VALUE

Also If you want to update the env variables on Heroku Dashboard,
Go to your app settings.
There is a button called "Reveal Config Vars", You can add and update the same there without any cli usage.

All of these details are available here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading