sukria/perldancer-website — pull request #24 by book (2012-11-08 09:50:30+00:00)
Title: Wallflower version of the PerlDancer website

Wallflower makes it possible to generate a static website from any Plack application.

A static website has however some different requirements than a dynamic website (e.g. content-type is usually determined by the webserver using the extension), so a small rewrite was necessary.

To generate the site, install App::Wallflower (https://metacpan.org/release/App-Wallflower), possibly read the tutorial (https://metacpan.org/module/Wallflower::Tutorial), and then simply run:

wallflower -a bin/app.pl -d

You'll then have a bunch of static files that can be installed anywhere with a web server.
Add a cronjob to regenerate the files and update the site at the frequency you want, and you're done!

Note that the only page I didn't test is the dancefloor.html page, because I didn't have some of the requirements.