InDefero

Sign in or create your account | Project List | Help

InDefero Commit Details

Date:2008-11-13 08:52:56 (1 month 25 days ago)
Author:Anonymous
Commit:a5acd5d6cacc388450bd91573436722fabc40a8f
Message:Improved the documentation based on a LinuxFr comment.

Files: INSTALL.mdtext (2 diffs)

Change Details

INSTALL.mdtext
11# Quick installation instruction
2The installation of InDefero is composed of 2 parts, first the
3installation of the [Pluf framework](http://www.pluf.org) and second,
4the installation of InDefero by itself.
5
6## Installation of Pluf
7
28* Checkout the trunk of [Pluf](http://www.pluf.org).
3* Install the `Mail` and `Mail_mime` classes from [PEAR](http://pear.php.net).
9* Install the `Mail` and `Mail_mime` classes from [PEAR](http://pear.php.net). You must use the `--alldeps` flag when installing these modules:
10
11    $ sudo pear install --alldeps Mail
12    $ sudo pear install --alldeps Mail_mime
13
14The Pluf installation folder is the folder containing the file `Pluf.php`.
15
16## Installation of InDefero
17
18The installation is composed of the following steps:
19
20* Get the InDefero archive.
21* Configure it correctly.
22* Installation the database with the `migrate.php` script.
23* Bootstrap the application with a `bootstrap.php` script.
24
25Here is the step-by-step installation procedure:
26
27* Extract the InDefero archive somewhere.
28* The InDefero installation folder is the folder containing this file INSTALL.mdtext.
429* Make a copy of `src/IDF/conf/idf.php-dist` as `src/IDF/conf/idf.php`.
530* Update the idf.php file to match your system.
6* Run `php /path/to/pluf/src/migrate.php --conf=IDF/conf/idf.php -a -i -d -u` to test the installation of the tables.
7* Run `php /path/to/pluf/src/migrate.php --conf=IDF/conf/idf.php -a -i -d` to really install the tables.
8* Create a bootsrap file to create the first project and admin user for example `www/bootstrap.php`:
31* Open a terminal/shell and go into the InDefero installation folder.
32* Run `php /path/to/pluf/src/migrate.php --conf=src/IDF/conf/idf.php -a -i -d -u` to test the installation of the tables.
33* Run `php /path/to/pluf/src/migrate.php --conf=src/IDF/conf/idf.php -a -i -d` to really install the tables.
34* Create a bootstrap file to create the first project and admin user for example `www/bootstrap.php`. Do not forget to update the second line with your path to Pluf:
935    <?php
1036    set_include_path(get_include_path().PATH_SEPARATOR.dirname(__FILE__).'/../src');
...... 
3359    print "Bootstrap ok\n";
3460    ?>
35* Run `php bootstrap.php`.
36* Remove the `bootstrp.php` file.
61* Run `php www/bootstrap.php`.
62* Remove the `www/bootstrap.php` file.
3763Now you can login with this user into the interface.

Archive Download the corresponding diff file

Branches:
master
newdiff
svn