Archive for the ‘dev’ tag
Setting up Codeigniter
After setting up several codeigniter based sites with dev/staging/production environments, I thought I’d write up the steps I undertake.
A overview of the steps are:
- Download CI and upload to hosting environment
- Rename ‘system’ directory
- Move ‘application’ directory to public accessible directory
- Upload and modify index.php
- Add .htaccess to remove index.php from URL’s
- Modify ‘config.php’ for domain and remove of index.php form URL’s
- Add ‘application.php’ specific config file
- Modify ‘database.php’ config for dev/staging/production
- Modify the autoload config for regularly used libraries, helpers and application config file