Skip to content

Instantly share code, notes, and snippets.

@pcktuts
Forked from mihow/load_dotenv.sh
Created May 24, 2021 10:23
Show Gist options
  • Save pcktuts/e3d26fbb30dfa8897936afe52fe7bae2 to your computer and use it in GitHub Desktop.
Save pcktuts/e3d26fbb30dfa8897936afe52fe7bae2 to your computer and use it in GitHub Desktop.

Revisions

  1. @mihow mihow renamed this gist Jan 24, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @mihow mihow created this gist Jan 24, 2017.
    4 changes: 4 additions & 0 deletions runserver.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    if [ ! -f .env ]
    then
    export $(cat .env | xargs)
    fi