Commit b28dd82b authored by Administrator's avatar Administrator

[ADMIN] Tina configuration.

parent f8df46f9
...@@ -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']
......
...@@ -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 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 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()
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