Commit 71156f75 authored by Zac Wood's avatar Zac Wood

revert my anger

parent 3e1c4d2f
Pipeline #4614 passed with stages
in 1 minute and 58 seconds
......@@ -17,7 +17,7 @@ before_script:
- nohup redis-server &
- cd go/
- export GO_ENV="test"
- export GO_SECRET_KEY="secret"
- export GO_SECRET_KEY=$(python -c 'import random; import string; print("".join([random.SystemRandom().choice("{}{}{}".format(string.ascii_letters, string.digits, string.punctuation)) for i in range(50)]))')
- export GO_DB_NAME="go"
- export GO_DB_USER="root"
- export GO_DB_PASSWORD="root"
......
......@@ -21,7 +21,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# http://www.miniwebtool.com/django-secret-key-generator/
# export SECRET_KEY=$(dd if=/dev/urandom count=100 | tr -dc "A-Za-z0-9" | fold -w 60 | head -n1 2>/dev/null)
# assert 'SECRET_KEY' in os.environ, 'You need to set the SECRET_KEY enviornment variable!'
SECRET_KEY = "if this fails i'm deleting the project" #os.environ['GO_SECRET_KEY']
SECRET_KEY = os.environ['GO_SECRET_KEY']
# Peoplefinder API
PF_URL = "https://api.srct.gmu.edu/peoplefinder/v1/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment