]> git.pld-linux.org Git - packages/CodeIgniter.git/blob - INSTALL-PLD.txt
- drop obsolete and outdated manual inclusion of rpm macros
[packages/CodeIgniter.git] / INSTALL-PLD.txt
1 This file describes how to install CodeIgniter in PLD.
2
3 The steps are simple (the package CodeIgniter is installed yet).
4 1. Create a directory in your ~/public_html, e.g. ci (optional).
5 2. Copy the /usr/share/CodeIgniter/index.php to the directory (created in step 1).
6 3. Edit the copied index.php: set the correct path in $application_folder (line 75)
7    without trailing slash (e.g. "/home/users/uzsolt/programs/codeigniter").
8    This directory can be outside of ~/public_html.
9    Please don't change $system_path, it points to system-installed CodeIgniter.
10 4. Create the $application_folder, and its subdirectories:
11            * config
12            * controllers
13            * models
14            * views
15    And optional (but suggested!) directories:
16            * core
17            * errors
18            * helpers
19            * hooks
20            * language
21            * libraries
22            * logs
23 5. You can populate this directories from /usr/share/CodeIgniter/application (optional).
24 6. Edit config/*.php (autoload.php, config.php, database.php or whatever do you need).
25 7. You can access your programs via http://localhost/~USERNAME/ci/index.php
26    (`ci' is created in step 1.)
27 8. Happy programming :)
28
29 Or you can use `codeigniter-install' script instead of step 1-7 :)
30
This page took 0.049996 seconds and 3 git commands to generate.