Merge pull request #16 from dod-ccpo/envrc_and_gitignore

Envrc and gitignore
This commit is contained in:
briandds 2018-05-30 17:41:55 -04:00 committed by GitHub
commit b4322435a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
source .venv/bin/activate

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ scss/assets
.pytest_cache/ .pytest_cache/
.venv/ .venv/
__pycache__ __pycache__
*.pyc
# Ignore static/fonts for now, since it is just symlink # Ignore static/fonts for now, since it is just symlink
static/fonts static/fonts

View File

@ -11,7 +11,11 @@ The setup script will create a new Python virtual environment for the applicatio
source .venv/bin/activate source .venv/bin/activate
If you want to automatically load the virtual environment whenever you enter the project directory, take a look at [direnv](https://direnv.net/) When you are done, type
deactivate
If you want to automatically load the virtual environment whenever you enter the project directory, take a look at [direnv](https://direnv.net/). An `.envrc` file is included in this repository. direnv will activate and deactivate virtualenvs for you when you enter and leave the directory.
## Running (development) ## Running (development)