Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
go
Commits
71156f75
Commit
71156f75
authored
Aug 29, 2019
by
Zac Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert my anger
parent
3e1c4d2f
Pipeline
#4614
passed with stages
in 1 minute and 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
go/settings/settings.py
go/settings/settings.py
+1
-1
No files found.
.gitlab-ci.yml
View file @
71156f75
...
...
@@ -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"
...
...
go/settings/settings.py
View file @
71156f75
...
...
@@ -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/"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment