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
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Michael Coughlin
GraceDB Server
Commits
ea8775f6
Commit
ea8775f6
authored
10 years ago
by
Fan Zhang
Browse files
Options
Downloads
Patches
Plain Diff
Merging in Fan's changes.
parent
c357a916
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
fzhang.wsgi
+34
-0
34 additions, 0 deletions
fzhang.wsgi
manage.py
+0
-1
0 additions, 1 deletion
manage.py
settingsdir/__init__.py
+3
-0
3 additions, 0 deletions
settingsdir/__init__.py
settingsdir/default.py
+1
-1
1 addition, 1 deletion
settingsdir/default.py
with
38 additions
and
2 deletions
fzhang.wsgi
0 → 100644
+
34
−
0
View file @
ea8775f6
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
# Sandbox libs here, if required.
#
#sys.path.append('/home/lars/wsgi-sandbox/lib/python2.6')
#sys.path.append('/home/lars/wsgi-sandbox/lib/python2.6/site-packages')
#sys.path.append('/home/gracedb/graceproj')
#sys.path.append('/home/branson/sandbox/lib/python2.6/site-packages')
#sys.path.append('/home/bmoe/sandbox/lib/python2.6')
#sys.path.append('/home/bmoe/sandbox/lib/python2.6/site-packages')
#sys.path.append('/home/branson/gracedbdev')
sys.path.insert(1,'/home/fzhang/gracedb/gracedb')
sys.path.insert(1,'/home/fzhang/djangoenv/lib/python2.7/site-packages')
# Scott's Shib app uses loggers.
import logging
logging.basicConfig()
os.environ['MPLCONFIGDIR']='/home/fzhang/gracedb/logs/'
#logging.basicConfig(level=logging.DEBUG,
# format='%(asctime)s %(levelname)s %(message)s',
# filename='/tmp/myapp.log',
# filemode='w')
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
This diff is collapsed.
Click to expand it.
manage.py
+
0
−
1
View file @
ea8775f6
...
...
@@ -2,7 +2,6 @@
from
django.core.management
import
execute_manager
import
os
try
:
import
settings
# Assumed to be in the same directory.
except
ImportError
:
...
...
This diff is collapsed.
Click to expand it.
settingsdir/__init__.py
+
3
−
0
View file @
ea8775f6
...
...
@@ -29,6 +29,9 @@ configs = {
'
/home/branson/gracedbdev
'
:
'
branson
'
,
'
/home/branson/gracedbdev/gracedb
'
:
'
branson
'
,
'
/home/fzhang/gracedb/gracedb
'
:
'
fan
'
,
'
/home/fzhang/gracedb/gracedb/gracedb
'
:
'
fan
'
,
"
/home/gracedb/gracestage
"
:
"
stage
"
,
}
...
...
This diff is collapsed.
Click to expand it.
settingsdir/default.py
+
1
−
1
View file @
ea8775f6
...
...
@@ -243,7 +243,7 @@ STATICFILES_DIRS = ()
# XXX The following Log settings are for a performance metric.
import
logging
LOG_ROOT
=
'
/home/gracedb/logs
'
LOG_ROOT
=
'
/home/
fzhang/
gracedb/logs
'
# Filter objects to separate out each level of alert.
class
infoOnlyFilter
(
logging
.
Filter
):
...
...
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