Skip to content

Commit

Permalink
Add direnv configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartMacKay committed Oct 4, 2023
1 parent 1942000 commit 17f7e62
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# direnv file
# When you cd to this directory, direnv will activate the virtualenv
# and set all the environment variables in the .env file.
# See https://direnv.net/man/direnv-stdlib.1.html

# Activate the virtualenv
# This simply replicates what venv/bin/activate does.
export VIRTUAL_ENV=venv
PATH_add "$VIRTUAL_ENV/bin"

# Set environment variables from .env
dotenv

0 comments on commit 17f7e62

Please sign in to comment.