- Download XAMPP and unzip it to your C drive. (If you use Windows Vista, you will need to unzip it one directory down. Common practice is to create a folder title "XAMPP" and unzip there.)
- Download CodeIgniter and unzip it to your C drive in a folder named "CodeIgniter".
- Open the CodeIgniter folder. There will be a subfolder named "CodeIgniter[version number]". Create a second copy of that subfolder within the CodeIgniter folder (Copy_of_CodeIgniter).
- Open Eclipse and set the workspace to any folder other than XAMPP/htdocs (or in Windows Vista, XAMPP/xampp/htdocs).
- In eclipse, select File/New/Create New Project/PHP Project
- Select the option to "Create from Existing Source", and using the browse button, navigate to C:/CodeIgniter/Copy_of_CodeIgniter". Name the project something meaningful and save.
- Switch Eclipse's workspace the htdocs folder withn your XAMPP directory.
- From the menu in Eclipse, select File/Import/General/"Import existing projects into workspace".
- Browse to C:/CodeIgniter and select Copy_of_CodeIgniter. The project you created should appear in the list of projects and it should be automatically selected for copying.
- IMPORTANT! Check the option "copy files into workspace" before finishing the project import.
- Now the project will be in htdocs, the default XAMPP web directory. To verify, in your browser typehttp://localhost/PROJECT_NAME and you should see the CodeIgniter welcome page. Your project is ready for editing.
Download Eclipse:
eclipse-php-helios-SR1-win32.zip
http://www.eclipse.org/pdt/downloads/
--------------------------------------------
for integrating codeigniter with eclipse see this video
http://www.youtube.com/watch?v=MzvSA0hq3Ts
very good link--
http://www.associatedcontent.com/article/2378460/setting_up_a_codeigniter_project_in_pg2.html?cat=15
No comments:
Post a Comment