Difference between revisions of "Installing from the Mercurial Repository"

From GeeklogWiki
Jump to: navigation, search
m (link to new Nightly Tarball article)
(the PEAR classes are in a repository now, but downloading them as a tarball is still the simplest option)
 
Line 27: Line 27:
 
=== PEAR ===
 
=== PEAR ===
  
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.
+
Geeklog requires some PEAR classes to work. You can either [http://project.geeklog.net/nightly/geeklog-pear.tar.gz download] a complete package or check them out from [http://project.geeklog.net/cgi-bin/hgwebdir.cgi/pear/ this repository]. Downloading the tarball is probably the easier option:
 
 
After downloading the file, copy it into your <tt>system/pear</tt> directory and unpack it there like so:
 
  
 
<pre>cd geeklog/system/pear
 
<pre>cd geeklog/system/pear
 +
wget http://project.geeklog.net/nightly/geeklog-pear.tar.gz
 
tar xfz geeklog-pear.tar.gz</pre>
 
tar xfz geeklog-pear.tar.gz</pre>
 +
 +
Note: These classes are normally included in the Geeklog release tarball as well as in the nightly tarball. You only need to download them when checking Geeklog out of the Mercurial repository.
  
 
=== Installation ===
 
=== Installation ===

Latest revision as of 18:38, 29 March 2013

Nightly Tarball

The easiest way to install the current development version of Geeklog is to use the Nightly Tarball. It is actually created every hour (if there were changes) 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

Geeklog requires some PEAR classes to work. You can either download a complete package or check them out from this repository. Downloading the tarball is probably the easier option:

cd geeklog/system/pear
wget http://project.geeklog.net/nightly/geeklog-pear.tar.gz
tar xfz geeklog-pear.tar.gz

Note: These classes are normally included in the Geeklog release tarball as well as in the nightly tarball. You only need to download them when checking Geeklog out of the Mercurial repository.

Installation

Now you can proceed with the installation as usual.