heroku config 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: heroku variables console
To check variables:
heroku config
To set variables:
heroku config:set VARIABLE_HERE=value
Example 3: spring heroku change environment
$ heroku config:set SPRING_PROFILES_ACTIVE=tst