Skip to content

Commit

Permalink
.env only activate if file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Stoafer committed Nov 22, 2016
1 parent d1e9f32 commit 7f15b92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
source .activateenv
if [ -f .activateenv ];
then
source .activateenv
fi

# For working with local postgres database
export DATABASE_URL="postgresql://localhost/influencr_dev"
Expand Down

0 comments on commit 7f15b92

Please sign in to comment.