InDefero

Sign in or create your account | Project List | Help

InDefero Commit Details

Date:2008-11-13 08:52:56 (7 months 20 days ago)
Author:Loic d'Anterroches
Commit:a5acd5d6cacc388450bd91573436722fabc40a8f
Message:Improved the documentation based on a LinuxFr comment.

Files: INSTALL.mdtext (2 diffs)

Change Details

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

Archive Download the corresponding diff file

Branches:
dev
master
newdiff
svn