Skip to content

Instantly share code, notes, and snippets.

@JeyDi
Forked from mihow/load_dotenv.sh
Created January 15, 2024 08:48
Show Gist options
  • Select an option

  • Save JeyDi/026b34ddcf292953469e7ceca65052f1 to your computer and use it in GitHub Desktop.

Select an option

Save JeyDi/026b34ddcf292953469e7ceca65052f1 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