Deploying a production server requires additional setup steps.
Change your SECRET_KEY and WEB_MGR_API_KEY to unique (and hopefully unguessable) strings in your settings.py.
Change the ownership of the whoosh_index directory to apache
chown apache:apache whoosh_index/
Ensure the server has the ability to send emails or you have access to an SMTP server. Set ``EMAIL_HOST``, ``EMAIL_PORT``, and ``DEFAULT_FROM_EMAIL`` in settings.py. For more complicated outgoing mail setups, please refer to the django email documentation.
Configure the Django Cache Framework to use a production capable backend in settings.py. By default Ganeti Web Manager is configured to use the LocMemCache but it is not recommended for production. Use Memcached or a similar backend.
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
}
}
For versions >= 0.5 you may need to add the full filesystem path to your templates directory to ``TEMPLATE_DIRS`` and remove the relative reference to ``’templates’``. We’ve had issues using wsgi not working correctly unless this change has been made.
Set VNC_PROXY to the hostname of your VNC AuthProxy server in settings.py. The VNC AuthProxy does not need to run on the same server as Ganeti Web Manager.
VNC_PROXY = 'my.server.org:8888'