Skip to content

Instantly share code, notes, and snippets.

@neumachen
Forked from mihow/load_dotenv.sh
Created October 21, 2023 21:14
Show Gist options
  • Save neumachen/2ea9768e5b5ed4f8552bb92ba10824a4 to your computer and use it in GitHub Desktop.
Save neumachen/2ea9768e5b5ed4f8552bb92ba10824a4 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