Skip to content

Instantly share code, notes, and snippets.

@tibawatanabe
Created September 30, 2017 20:00
Show Gist options
  • Save tibawatanabe/6ea63585240219862d845d22de7906b3 to your computer and use it in GitHub Desktop.
Save tibawatanabe/6ea63585240219862d845d22de7906b3 to your computer and use it in GitHub Desktop.
Command line to read .env file and set Heroku config vars
heroku config:set $(cat .env | sed '/^$/d; /#[[:print:]]*$/d')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment