Welcome Guest, Not a member yet? Register   Sign In
Tips for making an installer?
#1

[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!
#2

[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.
#3

[eluser]InsiteFX[/eluser]
Here is a stand alone PHP Installer that I use.

PHP Easy Installer

Enjoy
InsiteFX
#4

[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. Big Grin
#5

[eluser]Collb[/eluser]
Here is an implementation of codeigniter installer

https://github.com/collb/codeigniter-ins...all/master
https://github.com/collb/codeigniter-installer
#6

[eluser]Unknown[/eluser]
I just created this small code for my own use: https://github.com/misaelzapata/CodeIgniter-Installer




Theme © iAndrew 2016 - Forum software by © MyBB