Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
b28dd82b
Commit
b28dd82b
authored
Jan 16, 2015
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADMIN] Tina configuration.
parent
f8df46f9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
5 deletions
+30
-5
settings.py
gargantext_web/settings.py
+1
-1
requirements.txt
init/requirements.txt
+1
-1
wsgi.py
wsgi.py
+6
-3
wsgi.py.save
wsgi.py.save
+22
-0
No files found.
gargantext_web/settings.py
View file @
b28dd82b
...
@@ -47,7 +47,7 @@ TEMPLATE_DIRS = (
...
@@ -47,7 +47,7 @@ TEMPLATE_DIRS = (
#ALLOWED_HOSTS = ['*',]
#ALLOWED_HOSTS = ['*',]
ALLOWED_HOSTS
=
[
'localhost'
,
'master.polemic.be'
,
'beta.gargantext.org'
]
ALLOWED_HOSTS
=
[
'localhost'
,
'master.polemic.be'
,
'beta.gargantext.org'
,
'iscpif.gargantext.org'
,
'mines.gargantext.org'
,
'gargantext.org'
]
...
...
init/requirements.txt
View file @
b28dd82b
...
@@ -33,7 +33,7 @@ kombu==3.0.23
...
@@ -33,7 +33,7 @@ kombu==3.0.23
lxml==3.3.6
lxml==3.3.6
matplotlib==1.4.0
matplotlib==1.4.0
networkx==1.9
networkx==1.9
nltk==3.0a4
#
nltk==3.0a4
nose==1.3.4
nose==1.3.4
numpy==1.8.2
numpy==1.8.2
pandas==0.14.1
pandas==0.14.1
...
...
wsgi.py
View file @
b28dd82b
"""
"""
WSGI config for gargantext
_web
project.
WSGI config for gargantext project.
It exposes the WSGI callable as a module-level variable named ``application``.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
For more information on this file, see
https://docs.djangoproject.com/en/1.
6
/howto/deployment/wsgi/
https://docs.djangoproject.com/en/1.
7
/howto/deployment/wsgi/
"""
"""
import
os
import
os
,
sys
sys
.
path
.
append
(
'/srv/gargantext'
)
sys
.
path
.
append
(
'/srv/gargantext/gargantext_web'
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"gargantext_web.settings"
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"gargantext_web.settings"
)
from
django.core.wsgi
import
get_wsgi_application
from
django.core.wsgi
import
get_wsgi_application
application
=
get_wsgi_application
()
application
=
get_wsgi_application
()
wsgi.py.save
0 → 100755
View file @
b28dd82b
"""
WSGI config for gargantext_web project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""
activate_this = '/srv/gargantext_env/bin/activate_this.py'
exec(open(activate_this).read())
import os
import sys
sys.path.append('/srv/gargantext')
sys.path.append('/srv/gargantext_env')
os.environt("DJANGO_SETTINGS_MODULE", "gargantext_web.settings")
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
#from django.core.wsgi import get_wsgi_application
#application = get_wsgi_application()
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