node js set environment variable Heroku, code example
Example 1: export command for node in heroku
$ heroku config:set GITHUB_USERNAME=joesmith
Adding config vars and restarting myapp... done, v12
GITHUB_USERNAME: joesmith
Example 2: spring heroku change environment
$ heroku config:set SPRING_PROFILES_ACTIVE=tst