30 lines
957 B
Python
30 lines
957 B
Python
# -*- coding: UTF-8 -*-
|
|
# wsgi.py
|
|
|
|
# Optional: if you install klaus in a virtualenv, you need to tell Python
|
|
# about your environment's site-packages directory
|
|
import site
|
|
site.addsitedir('/volume1/homes/bruno/.local/lib/python3.5/site-packages')
|
|
|
|
|
|
# Your klaus site title. Make sure it's a unicode object if it
|
|
# contains non-ascii characters
|
|
TITLE = u"My site title"
|
|
|
|
# A list of paths pointing to your git repositories
|
|
REPOSITORIES = [
|
|
"/volume1/Repositories/kymsu_dsm.git",
|
|
"/volume1/Repositories/shell_scripts.git",
|
|
"/volume1/Repositories/syno_scripts.git",
|
|
"/volume1/Repositories/wiki.js.git",
|
|
"/volume1/Repositories/wp2010.git",
|
|
"/volume1/Repositories/wp2012.git",
|
|
"/volume1/Repositories/wp_creator.git",
|
|
"/volume1/Repositories/zp_photoblog2.git",
|
|
]
|
|
|
|
# klaus provides a make_app function that creates a WSGI application
|
|
from klaus import make_app
|
|
|
|
# Create the application
|
|
application = make_app(REPOSITORIES, TITLE) |