Created
March 25, 2019 08:15
-
-
Save leogopal/e1bb34273029878fc9b3d1513a805201 to your computer and use it in GitHub Desktop.
Script the setting of Heroku Variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku config | sed 's/: */=/g; /^=/d' >> .env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku config:set $(cat .env | sed '/^$/d; /#[[:print:]]*$/d') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku config:set LOGGER_LEVEL=debug ENV=production CRYPTO_SECRET=guesswhat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment