-
Notifications
You must be signed in to change notification settings - Fork 24
Set up Devilry with Apache
THIS GUIDE IS UNDER DEVELOPMENT
This guide assumes you have followed the Download and install Devilry guide.
If you installed in /var/devilry
as the install guide recommends, you can just add the following line to the apache config:
Include /var/devilry/productionenv/server-conf/apache-vhost.conf
and adjust /var/devilry/productionenv/server-conf/apache-vhost.conf
to your environment.
You must also update your /var/devilry/productionenv/settings/settings.py
to work with Apache. Enable (uncomment) DEVILRY_MAIN_PAGE, DEVILRY_LOGOUT_URL, LOGIN_URL, DEVILRY_STATIC_URL and DEVILRY_THEME_URL.
You will need to install the modwsgi module for Apache. On Ubuntu, install the package named libapache2-mod-wsgi.
You can use other install methods than mod_wsgi with Apache. The only difference in the config would be to replace the WSGI settings. See the django docs for more information.
When everything is working, you should disable the DEBUG
setting in /var/devilry/settings/settings.py
. by changing it to:
DEBUG = False