Commit 48f0e5ed authored by Patipat Jo's avatar Patipat Jo
Browse files

Add new file

parent db3fb01c
import os
ckan_home = os.environ.get('CKAN_VENV', '/usr/lib/ckan/default')
activate_this = os.path.join(ckan_home, 'bin/')
execfile(activate_this, dict(__file__=activate_this))
from paste.deploy import loadapp
config_filepath = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'production.ini')
from paste.script.util.logging_config import fileConfig
application = loadapp('config:%s' % config_filepath)
\ No newline at end of file
Supports Markdown
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