Skip to content

Instantly share code, notes, and snippets.

@Godofbrowser
Last active September 20, 2023 10:46
Show Gist options
  • Save Godofbrowser/4c0317bdfbcf71d14e760a014e27dd3b to your computer and use it in GitHub Desktop.
Save Godofbrowser/4c0317bdfbcf71d14e760a014e27dd3b to your computer and use it in GitHub Desktop.

Revisions

  1. Godofbrowser revised this gist Aug 3, 2019. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions heroku-auto-set-env.md
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    `$ cd <application name>`

    Where <application name> is the dir where you have the `.env` file.

    `heroku config:set $(cat .env | sed '/^$/d; /#[[:print:]]*$/d')`
  2. Godofbrowser created this gist Aug 3, 2019.
    1 change: 1 addition & 0 deletions heroku-auto-set-env.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    `heroku config:set $(cat .env | sed '/^$/d; /#[[:print:]]*$/d')`