Skip to content

Instantly share code, notes, and snippets.

@JoshuaEstes
Last active January 10, 2021 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoshuaEstes/5337e52fb129573899fc to your computer and use it in GitHub Desktop.
Save JoshuaEstes/5337e52fb129573899fc to your computer and use it in GitHub Desktop.
This is a simple one line command that takes your local .env file and sets all the environmental variables on heroku for you to edit
heroku config:set $(cat .env | tr '\n' ' ' | sed -e 's/export //g')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment