So, I found myself installing Movable Type on my site to start posting once more. I set it up using the PSGI deployment notes from the GitHub docs, though there are a few things I missed that I should put down:
- There's a lack of
cpanfilelisting down Plack, XMLRPC, and Starman dependencies, so install those manually according to the wiki doc. In addition, install some graphics library like Imager and set it in
mt-config.cgior MT will complain about a missing
- There are several config directives that need to be tweaked aside from
PIDFilePaththat need to be added:
CGIPathshould point to the URL going to the MT installation, normally this can be some path in
$url/cgi-bin/mtbut one can just shorten it to
StaticPathmust not be your website's document root, but rather the path where MT's static files will be (e.g.
/var/www/html/mt-staticif the website root is in
StaticFilePathshould be set to correspond to the URL in
- Take care to set the first website root to a directory other than the MT directory; something like
/path/to/mt/htmlwould be ok.
- Finally, deploy Starman with something like daemontools just like any proper PSGI application (I should put this under a separate note later :)