Revision 5 - 2009-03-05 at 07:16:27

h1. Deployment


After you've installed MojoMojo, you will want to configure the web server. The guides below should help.

h2. Deployment with nginx

Catalyst versions prior to 5.8 are limited in that your application can only reside at / (more details and a workaround at "Catalyst and nginx": An alternative is to create a subdomain for your wiki. Here is an example nginx configuration for "my wiki":

bc.. server { server_name ~wiki.dandascalescu.(com|org|net);

access_log logs/wiki.access;
error_log logs/wiki.error error;

location / {
    include fastcgi_params;

location /.static/ {
    alias /home/dan/;


p. The @mojomojo@ server is, basically, run as an external FastCGI server:

bc. cd /home/dan/ script/ -listen -nproc 5 -keeperr 2>>log/error.log &

For a robust configuration, use the start/stop @init@ script from the "lighttpd deployment": page.

h2. Deployment without a web server

Since MojoMojo is a Catalyst application, you can use Catalyst's built-in HTTP server for standalone deployment. "Catalyst::Engine::HTTP::Prefork": is a high-performance pre-forking Catalyst engine and recommended:

bc. CATALYST_ENGINE='HTTP::Prefork' script/

My tags:
Popular tags:
Powered by Catalyst