Creates a static website from an existing mezzanine website. This static website can be directly hooked to nginx.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Project to convert a mezzanine website to a static website that be hooked directly to nginx...


1. Add 'static_file_generator' to INSTALLED_APPS in

2. Give the path of HTML_SITE_ROOT in where the root of the static
   site will be stored. Make sure the path is absolute. If the path is left blank
   the static site will be stored in '_site' directory  in the project folder.

2. Run 'python generate_static_site'  to generate static site.

4. Whenever a page is created or updated a post_save signal is passed to a reciever
   which creates the new or updated static file for the page.