-
Notifications
You must be signed in to change notification settings - Fork 11
/
.envrc
30 lines (25 loc) · 1.21 KB
/
.envrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# enable debug by default
DEBUG=1
# pip should not complain about its version, mostly leads to red herrings
export PIP_DISABLE_PIP_VERSION_CHECK=1
# export virtualenv and path used for this project
if test "$(uname -s)" = "Darwin";then
ENV=~/Library/Caches/virtualenvs/$(basename $PWD)
else
ENV=${XDG_CACHE_HOME:-~/.cache}/virtualenvs/$(basename $PWD)
fi
export VIRTUAL_ENV=${VIRTUAL_ENV:-${ENV}}
export PATH=${VIRTUAL_ENV}/bin:$PATH
# To the security researchers: these are placeholder keys that look like the real deal. The production environment
# is simulated as well as possible. Please do not send any vulnerability disclosures about this. In many other
# cases grepping through github works, this time it does not. Your efforts are appreciated still :)
export SECRET_KEY="_dzlo^9d#ox6!7c9rju@=u8+4^sprqocy3s*l*ejc2yr34@&89"
export FIELD_ENCRYPTION_KEY="_H1RMbPAgbhGHfG0Ok38OK6zNZ90P7AU9wULXp3aa1A="
# This issue since catalina: https://gitlab.com/internet-cleanup-foundation/web-security-map/issues/229
echo "Your system is running $OSTYPE."
if [[ "$OSTYPE" == "darwin19" ]]; then
export LDFLAGS=-L/usr/local/opt/openssl/lib
fi
export DJANGO_LOG_LEVEL=INFO
export APP_LOG_LEVEL=DEBUG
export CELERY_LOG_LEVEL=INFO