INSTALLATION OF REQUIRED PHP EXTENSIONS

Build script requires propel.
Propel requires phing and pear/log.

USE PEAR.

$> pear config-set preferred_state beta

GET PHING:

$> pear channel-discover pear.phing.info
$> pear install phing/phing

GET PEAR/LOG:

$> pear install log

GET PROPEL:

$> pear channel-discover pear.phpdb.org
$> pear install phpdb/propel_generator
$> pear install phpdb/propel_runtime


CONFIGURING MK-AUTH
cp conf/auth.conf.in  conf/auth.conf
cp conf/build.conf.in  conf/build.conf

Edit conf/auth.conf and conf/build.conf

Run the propel build command:

cd  conf/build
./perform-build

When built, mk-auth rerquires empty mysql db.
Instead of <> use parameters from the build.conf.

$> mysql --user=root

mysql> CREATE DATABASE <dbname>
mysql> GRANT ALL PRIVILEGES ON <dbname>.* TO '<db user>'@'localhost' IDENTIFIED BY '<dbpass>';
mysql> exit

$> mysql --user=<dbuser> --password=<dbpass> <dbname> < mk-auth/php/propel_build/sql/schema.sql


POPULATING THE DATABASE
