Updated the documentation to take into account the new admin area.

This commit is contained in:
Loic d'Anterroches 2008-12-01 13:48:39 +01:00
parent d1911339d7
commit cc49fd1dc9

View File

@ -58,7 +58,7 @@ Here is the step-by-step installation procedure:
* Run `php /home/www/pluf/src/migrate.php --conf=IDF/conf/idf.php -a -i -d -u` to test the installation of the tables. * Run `php /home/www/pluf/src/migrate.php --conf=IDF/conf/idf.php -a -i -d -u` to test the installation of the tables.
* Run `php /home/www/pluf/src/migrate.php --conf=IDF/conf/idf.php -a -i -d` to really install the tables. * Run `php /home/www/pluf/src/migrate.php --conf=IDF/conf/idf.php -a -i -d` to really install the tables.
* 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: * Create a bootstrap file to create the admin user for example `www/bootstrap.php`. Do not forget to update the second line with your path to Pluf:
<?php <?php
set_include_path(get_include_path().PATH_SEPARATOR.dirname(__FILE__).'/home/www/indefero/src'); set_include_path(get_include_path().PATH_SEPARATOR.dirname(__FILE__).'/home/www/indefero/src');
@ -67,11 +67,6 @@ Here is the step-by-step installation procedure:
Pluf::start(dirname(__FILE__).'/home/www/indefero/src/IDF/conf/idf.php'); Pluf::start(dirname(__FILE__).'/home/www/indefero/src/IDF/conf/idf.php');
Pluf_Dispatcher::loadControllers(Pluf::f('idf_views')); Pluf_Dispatcher::loadControllers(Pluf::f('idf_views'));
$project = new IDF_Project();
$project->name = 'Your project';
$project->shortname = 'yourproject'; //Only letters digits
$project->description = 'This is your project.';
$project->create();
$user = new Pluf_User(); $user = new Pluf_User();
$user->first_name = 'John'; $user->first_name = 'John';
$user->last_name = 'Doe'; // Required! $user->last_name = 'Doe'; // Required!
@ -89,8 +84,8 @@ Here is the step-by-step installation procedure:
* Remove the `www/bootstrap.php` file. * Remove the `www/bootstrap.php` file.
* Open the `www/index.php` file and ensure that the path to Pluf and * Open the `www/index.php` file and ensure that the path to Pluf and
Indefero are correctly set for your configuration. Indefero are correctly set for your configuration.
* Now you can login with this user into the interface.
Now you can login with this user into the interface. * Click on the Administer link on top and create your first project.
## Upgrade InDefero ## Upgrade InDefero