-
Notifications
You must be signed in to change notification settings - Fork 0
mbegoc/lighter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
lighter - a light php framework
---------------------------------
Michel Begoc
---------------------------------
2011-10-30
---------------------------------
* Introduction
Lighter is a lightweight MVC PHP framework.
* Licence
copyright (c) Michel Begoc
distributed under MIT license. See lighter/docs/license.txt
* Installation
1 ensure you have an environment set with a complete web server environment:
- Apache or nginx, or a similar web server
- PHP 5.3 or higher
- a MongoDB or MySQL database
2 clone the lighter git repository anywhere you want on your system
3 create the web server environment for your app
4 copy the content of the starter directory into your application directory
5 edit the public/index.php file to edit the init.php lighter path to fit your
configuration
6 edit the config/main.php file to set your app name and database configuration
information
7 if you wish, edit your apache config or add a .htaccess file to redirect the
requests to index.php so you don't need to specify the index.php file in the uri
8 your are ready to go