Update docs for static site generation

the staticsitegen command won't work without these settings- will throw NotImplementedErrors using defaults.
This commit is contained in:
georgewhewell 2015-04-16 10:56:29 +01:00
parent 54eb98f8d4
commit ebf2d767e0

View file

@ -27,6 +27,13 @@ Then add ``django_medusa`` and ``wagtail.contrib.wagtailmedusa`` to ``INSTALLED_
'wagtail.contrib.wagtailmedusa',
]
Define ``MEDUSA_RENDERER_CLASS`` and ``MEDUSA_DEPLOY_DIR`` in settings:
.. code:: python
MEDUSA_RENDERER_CLASS = 'django_medusa.renderers.DiskStaticSiteRenderer'
MEDUSA_DEPLOY_DIR = os.path.join(BASE_DIR, 'build')
Rendering
~~~~~~~~~