This application is built on CodeIgniter 3.0.0. Here's how to install.
-
Copy or clone the project to a folder that can be served by your PHP web server.
-
Copy application/config/config-sample.php to application/config/config.php and adjust settings, most notably the 'base_url'. Set this to whatever host, port and alias your application is running at, like:
http://localhost:8080/conference-manager/
Note: If you don't use a webserver 'rewrite' feature, all of the URLs in the conference manager application will have "index.php" attached to them, like this:
http://localhost:8080/conference-manager/index.php/admin/users
-
Copy application/config/database-sample.php to application/config/database.php and adjust your database connection settings.
-
Create the database, database user and grant the user all permissions, per the settings in you database.php configuration file.
-
Run (import) the database initialization file, sql/conference-manager.sql. This file is designed for MySQL (modify to use with other SQL systems).
-
Install the "community_auth for CodeIgniter 3" library, found at http://community-auth.com. Download the latest stable package, unzip it, and copy the application/third_party/community_auth folder and all its subfolders to the the application/third_party folder of the conference manager project.
-
Create an admin user in the database using the command line. Change to the project directory, then enter:
php index.php admin/users add_cli <first_name> <last_name> <url_encoded_email> 9
The user will be created with the username, password and email address passed to the add_cli method in the admin/users controller. Note that the email and password must be URL-safe (for instance the '@' character in the email address must be encoded as '%40'). The '9' specifies the admin user level (this script can be used to create regular users also).
- Check that the user was created by going to the URL:
<base_url>/index.php/admin/users