Installing MojoMojo
The recommended way install is to follow the GitHub installation steps, so that all MojoMojo files end up in one directory, and you have the latest developer version. If you want to use a release version, after git clone, you can list the tags with git tag, and then checkout a specific tag: git checkout <tag_name>.
On FreeBSD, install the p5-MojoMojo package. A Debian package for MojoMojo will soon be available.
TODO: document where files end up after installation.
(alternatively, run updatedb and locate mojomojo_server.pl)
System Requirements
- root privileges. Otherwise, you can still install MojoMojo using local::lib.
- 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
- external library dependencies:
Installation from CPAN
install Catalyst. This can be as easy as
cpan Catalyst::Runtimeinstall the external libraries. For example on Ubuntu, run:
aptitude install libxml2 libpng-dev libgif-dev libjpeg-dev expat libexpat1-devOn Windows, you can find
libxml2and its dependencies at http://www.zlatkovic.com/pub/libxml/. You'll needlibxml2.dll,iconv.dllandzlib1.dllin a directory listed inPATH.install MojoMojo:
To see how likely the installation tests are to succeed, check the CPAN Testers status of the MojoMojo dependencies.
Jasa SEO Jasa SEO Murah Sepatu Online Toko Sepatu Online Sepatu Sepatu Safety Cheapes Hostgator Coupon Link Booking Televisori offerte Notebook Offerte Govr Edo Ziedo Portatile Apple RDAnet Lorks Karikatur tertinggal Bisnis UKM Bisnis Modal Kecil Iklan Baris Jasa SEO Murah SEO Indonesia Konsultan SEO SEO Belajar SEO Penumbuh Rambut Kursus SEO Jam Tangan Casio Grosir Baju Terbaru Bisnis Online Belajar SEO Kerupuk Social Bookmark Kumpulan Puisi
As with any Catalyst application, mojomojo_*.pl scripts will be installed installed in /usr/local/bin.
configure MojoMojo. Usually, you'll want to add a local configuration file overriding values from mojomojo.conf. Since MojoMojo is a Catalyst application, it conforms to the naming convention for such configuration files and settings you add to
mojomojo_local.confwill override those inmojomojo.conf(details at the Catalyst wiki - What is the precedence of various configuration setting locations?.To point MojoMojo to an arbitrary configuration file, set
MOJOMOJO_CONFIG=/my/other/path.conf
MYAPP_CONFIG is also a Catalyst-style environment variable name.
Here is an older example installation progress.
Installing the latest build from GitHub, step-by-step
aptitude install libxml2 libpng-dev libgif-dev libjpeg-dev expat libexpat1-dev make aptitude install libxslt1-dev libgdbm-dev docbook-xsl docbook-xsl-doc-html aptitude install git-arch git clone git://github.com/marcusramberg/mojomojo.git # optional: git tag ; git checkout <a release tag> cpan -i Module::Install 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.
Jam Tangan Murah timbangan Penumbuh Rambut Bisnis Modal Kecil
Showing changes from previous revision. Removed | Added
