Blame view

web/run_ssa.wsgi 331 Bytes
f10f34d1   Goutte   More logic.
1
2
3
4
5
6
7
8
9
10
import os
import sys

ROOT_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))

sys.path.append(ROOT_DIR)

# activate_this = os.path.join(ROOT_DIR, 'venv', 'bin', 'activate_this.py')
# execfile(activate_this, dict(__file__=activate_this))

ed5aa04e   Goutte   Provide a better ...
11
12
os.environ.setdefault('SSA', 'true')

f10f34d1   Goutte   More logic.
13
from web.run import app as application