I have a Whole web site project based on CodeIgniter framework. My problem is i don't know how to run this project on my local Mamp Server. I have Successfully set up Mamp and Also run the latest version of CodeIgniter.
But now how can i run the whole project using CodeIgniter found in my localhost folder. This is my first experience with a CMS Framework.
Open application/config folder
First go to config.php file and point the base url to the correct location
$config['base_url'] = '';
than goes to the database.php and provide correct database parameters
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'user';
$db['default']['password'] = 'password';
$db['default']['database'] = 'dbname';thats the most basic changes u have to do....
now if you want to redirect it to specific controller by default go to routes.php file in config directory and change this vairable $route['default_controller'] = "yourcontrollername"