Commit 40c38009 authored by Patipat Jo's avatar Patipat Jo
Browse files


parent 480e096a
......@@ -212,19 +212,6 @@ sudo apt-get install nginx
2. สร้างไฟล์ script wsgi
sudo cp /usr/lib/ckan/default/src/ckan/ /etc/ckan/default/
# -- coding: utf-8 --
import os
from ckan.config.middleware import make_app
from ckan.cli import CKANConfigLoader
from logging.config import fileConfig as loggingFileConfig
config_filepath = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'ckan.ini')
abspath = os.path.join(os.path.dirname(os.path.abspath(__file__)))
config = CKANConfigLoader(config_filepath).get_config()
application = make_app(config)
3. สร้าง wsgi server
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