Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IGWN Computing and Software
GraceDB
GraceDB Server
Commits
f527f088
Commit
f527f088
authored
9 years ago
by
Branson Craig Stephens
Browse files
Options
Downloads
Patches
Plain Diff
Removing passwords from git repo.
parent
4c20141c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
settings/default.py
+3
-2
3 additions, 2 deletions
settings/default.py
settings/test.py
+3
-1
3 additions, 1 deletion
settings/test.py
with
7 additions
and
3 deletions
.gitignore
+
1
−
0
View file @
f527f088
...
...
@@ -8,3 +8,4 @@ static/rest_framework/
static/debug_toolbar/
doc/build/*
doc/build/.buildinfo
settings/settings_secret.py
This diff is collapsed.
Click to expand it.
settings/default.py
+
3
−
2
View file @
f527f088
from
settings_secret
import
*
# Suitable for production
ALLOWED_HOSTS
=
[
'
*
'
]
...
...
@@ -114,7 +115,7 @@ DATABASES = {
'
NAME
'
:
'
gracedb
'
,
'
ENGINE
'
:
'
django.db.backends.mysql
'
,
'
USER
'
:
'
gracedb
'
,
'
PASSWORD
'
:
'
thinglet
'
,
'
PASSWORD
'
:
DEFAULT_DB_PASSWORD
,
'
OPTIONS
'
:
{
'
init_command
'
:
'
SET storage_engine=MyISAM
'
,
},
...
...
@@ -238,7 +239,7 @@ USE_I18N = False
ADMIN_MEDIA_PREFIX
=
'
/media/
'
# Make this unique, and don't share it with anybody.
SECRET_KEY
=
'
$$&hl%^_4&s0k7sbdr8ll_^gkz-j8oab0tz$t^^b-%$!83d(av
'
SECRET_KEY
=
DEFAULT_SECRET_KEY
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS
=
(
...
...
This diff is collapsed.
Click to expand it.
settings/test.py
+
3
−
1
View file @
f527f088
from
settings_secret
import
*
CONFIG_NAME
=
"
Test
"
DEBUG
=
True
...
...
@@ -9,7 +11,7 @@ DATABASES = {
'
NAME
'
:
'
gracedb
'
,
'
ENGINE
'
:
'
django.db.backends.mysql
'
,
'
USER
'
:
'
gracedb
'
,
'
PASSWORD
'
:
'
thinglet
'
,
'
PASSWORD
'
:
TEST_DB_PASSWORD
,
'
OPTIONS
'
:
{
'
init_command
'
:
'
SET storage_engine=MYISAM
'
,
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment