view odfcast/settings.py @ 79:bd3e5fdd8398 1.0

Add apache site configuraton file for odfcase as wsgi application. Put the file apache-site.conf into /etc/apache2/sites-available/. It assumes that odfcast is installed as /home/mpuls/odfcast/releases/current and that there's a python environment with its site-packages in /home/mpuls/odfcast/env/lib/python2.7/site-packages. This is the setup used on the mpuls staging servers.
author Bernhard Herzog <bh@intevation.de>
date Wed, 25 Feb 2015 19:36:21 +0100
parents 3bff1a4bc80e
children 6466501a963b
line wrap: on
line source
# -*- coding: utf-8 -*-

MAX_CONTENT_LENGTH = 50 * 1024 * 1024  # allow 200 MB upload files

PY3O_UNO_DRIVER = "py3o.renderers.pyuno"
PY3O_UNO_SERVER_HOSTNAME = "localhost"
PY3O_UNO_SERVER_PORT = 2001
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)