Difference between revisions of "Installing from the Mercurial Repository"

From GeeklogWiki
Jump to: navigation, search
(More detailed instructions on how to get a Mercurial checkout up and running)
 
(direct link to the PEAR package)
Line 23: Line 23:
 
cp system/lib-custom.php.dist system/lib-custom.php</pre>
 
cp system/lib-custom.php.dist system/lib-custom.php</pre>
  
These files have been renamed so that you can run Geeklog off of a checked-out repository without having to deal with possible merge conflicts in those files (or, even worse, accidentally checking in db-config.php with your database password ...).
+
These files have been renamed so that you can run Geeklog off of a checked-out repository without having to deal with possible merge conflicts in those files (or, even worse, accidentally checking in db-config.php with your database password).
  
 
=== PEAR ===
 
=== PEAR ===
  
You also need the [http://www.geeklog.net/staticpages/index.php/CVS#pear package of PEAR classes]. These classes are included in the Geeklog release tarball, but not checked in to the Mercurial repository.
+
You also need the [http://project.geeklog.net/nightly/geeklog-pear.tar.gz package of PEAR classes]. These classes are included in the Geeklog release tarball (and in the nightly tarball), but not checked in to the Mercurial repository.
  
 
After downloading the file, copy it into your <tt>system/pear</tt> directory and unpack it there like so:
 
After downloading the file, copy it into your <tt>system/pear</tt> directory and unpack it there like so:

Revision as of 19:04, 26 February 2011

Nightly Tarball

The easiest way to install the current development version of Geeklog is to use the Nightly Tarball. It is created every night and packaged like a normal Geeklog release, so you can simply download it and follow the installation instructions.


Using the Mercurial Repository

Checking out

Assuming you have Mercurial installed but don't have a developer's account, you can check out the current development version like so:

hg clone http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog

This will create a directory named "geeklog" in the current directory.

.dist files

You need to make copies of the following three files:

cd geeklog
cp db-config.php.dist db-config.php
cp public_html/siteconfig.php.dist public_html/siteconfig.php
cp system/lib-custom.php.dist system/lib-custom.php

These files have been renamed so that you can run Geeklog off of a checked-out repository without having to deal with possible merge conflicts in those files (or, even worse, accidentally checking in db-config.php with your database password).

PEAR

You also need the package of PEAR classes. These classes are included in the Geeklog release tarball (and in the nightly tarball), but not checked in to the Mercurial repository.

After downloading the file, copy it into your system/pear directory and unpack it there like so:

cd geeklog/system/pear
tar xfz geeklog-pear.tar.gz

Installation

Now you can proceed with the installation as usual.