Revision 2 - 2009-02-02 at 09:55:57

h1. System requirements

  • Perl 5.8+ and Catalyst 5.7+
  • database: in theory, any database back-end supported by DBIx::Class. MojoMojo has been successfully tested with SQLite, PostgreSQL and MySQL.
  • Memory requirements: on Linux, 60Mb per FastCGI process, regardless of the wiki database size or back-end type.

h1. 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":http://dev.catalyst.perl.org/wiki/adventcalendararticles/2008/02-catalyst_and_nginx). An alternative is to create a subdomain for your wiki. Here is an example nginx configuration for "my wiki":http://wiki.dandascalescu.com:

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

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

location / {
    include fastcgi_params;
    fastcgi_pass 127.0.0.1:55900;
}

location /.static/ {
    alias /home/dan/mojomojo.prod/root/static/;
}

}

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

bc. cd /home/dan/mojomojo.prod script/mojomojo_fastcgi.pl -listen 127.0.0.1:55900 -nproc 5 -keeperr 2>>log/error.log &

For a robust configuration, use the start/stop @init@ script from the "lighttpd deployment":http://dev.catalyst.perl.org/wiki/gettingstarted/howtos/deploy/lighttpd_fastcgi page.

My tags:
 
Popular tags:
 
Powered by Catalyst