Revision 4 - 2009-04-13 at 22:44:43

Installing MojoMojo

On FreeBSD, install the p5-MojoMojo package. A Debian package for MojoMojo will soon be available.

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
  • image manipulation libraries for attachment support: libpng-dev libgif-dev libjpeg-dev (libjpeg62-dev)

Installation

  1. install Catalyst. This can be as easy as cpan Catalyst::Runtime
  2. install the image manipulation libraries, libpng-dev libgif-dev libjpeg-dev (or libjpeg62-dev), on which Imager depends
  3. install MojoMojo:
  4. configure MojoMojo

Here is an older example installation progress.

Installing the latest build from GitHub

apt-get install libpng12-dev libjpeg62-dev libxslt1-dev libgdbm-dev docbook-xsl docbook-xsl-doc-html
apt-get install git-arch
git clone git://github.com/marcusramberg/mojomojo.git
cd mojomojo
perl Makefile.PL
make
make test
# change mojomojo.conf if necessary
script/mojomojo_spawn_db.pl  # creates database
script/mojomojo_server.pl  # launch development server

From here on, see Deployment. If you run into problems, see Troubleshooting.

My tags:
 
Popular tags:
 
Powered by Catalyst