Part of the EllisLab Network
   
 
Make instalation for my project
Posted: 29 July 2009 08:47 AM   [ Ignore ]  
Summer Student
Total Posts:  16
Joined  06-20-2009

Hi CI Friends..

      I have to make my project in installation format. i have done complete project in CI. now its working very good in local host i have to make installation file format in my project in single file. how to make? give some suggestion sites..

Profile
 
 
Posted: 29 July 2009 11:16 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  143
Joined  05-23-2009

To have everything in one file… You could base64 encode all of your files, store them as strings, and have a script “extract” all of them to your server. At the end of the script execution it could execute some SQL queries.

I would recommend against this considering your install.php file will be at least 1.5 times as large as your project is right now.

The best thing to do is distribute a bunch of separate files and build an install.php file which gets database info from the user, and writes to the CI config file, and builds the tables/populates initial data. I’d keep the install file outside of CI (just plain PHP).

 Signature 

thomashunter.name

Profile