![]() |
Tips for making an installer? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Tips for making an installer? (/showthread.php?tid=23374) |
Tips for making an installer? - El Forum - 10-08-2009 [eluser]MCrittenden[/eluser] I'm working on a downloadable (and obviously self-hosted) web app and I need to make an installer for it. The whole idea is that the user will visit an installation form which will allow him/her to enter database information, site name, etc. That information will be validated, put into config files (for example, database.php will automatically be filled out after the form is submitted), and a database structure will be built. Any tips for doing this? Any projects that have already accomplished something similar that I could look at? Should the installer be a part of CodeIgniter, or should it be its own 'install' directory that goes alongside CI? Any tips are appreciated. Thanks! Tips for making an installer? - El Forum - 10-08-2009 [eluser]Colin Williams[/eluser] I would develop it outside of CI in a single install.php file that the user can delete after a successful install. I guess you could technically have some sort of Installer controller if you felt you needed to use all the CI libs and such. Tips for making an installer? - El Forum - 10-08-2009 [eluser]InsiteFX[/eluser] Here is a stand alone PHP Installer that I use. PHP Easy Installer Enjoy InsiteFX Tips for making an installer? - El Forum - 01-23-2010 [eluser]napz[/eluser] Its much better to load the file helper and file write the database.php and config.php, its like a Joomla installer. ![]() Tips for making an installer? - El Forum - 06-12-2012 [eluser]Collb[/eluser] Here is an implementation of codeigniter installer https://github.com/collb/codeigniter-installer/zipball/master https://github.com/collb/codeigniter-installer Tips for making an installer? - El Forum - 09-10-2012 [eluser]Unknown[/eluser] I just created this small code for my own use: https://github.com/misaelzapata/CodeIgniter-Installer |