2

I've Googled, I've searched, but I couldn't find an answer to this.

I've written a pretty big application with the framework CodeIgniter. Now, it's almost ready, and therefore almost ready to ship.

How do I install it on our server, or on our customers' servers?

I know I could write an installer for this, but I thought, maybe is there somebody who has written an installer generator. Or at least something that generates a script that can add 20-30 tables so that I don't have to spend a week building an installer. The application must be compatible with Oracle, MSSQL and MySQL.

It would be awesome if something like this is available.

edit: grammar edit: I use the Active Record Class, so it's compatible with all databases.

8
  • First of all is your application compatible with all these databases? Commented Jun 15, 2012 at 14:44
  • Yes, I use Codeigniters Active Record Class, so it's compatible with almost every database. Commented Jun 15, 2012 at 14:49
  • installer generator?: hmm not sure what you mean? Creating a script for Mysql would be the easy part, just use phpmyadmin - export the db schema / data and then create a simple php script to install (or just phpmyadmin on the server). Also are you actually going to install the app on all 3 db's? Commented Jun 15, 2012 at 14:50
  • At this moment, we have two installations, one on a MySQL database and one on a MSSQL database. I know phpmyadmin can export a script, but I want a script that can install it not only for MySQL, but also for MSSQL and Oracle. I know CI has a Database Forge Class that can do that, but, maybe it could be generated? Commented Jun 15, 2012 at 14:57
  • Installer generator: A script that can generate an installer script for an application. It can create a database, insert default data in it, and set settings in the config files. Commented Jun 15, 2012 at 15:05

1 Answer 1

3

Try this: https://github.com/mikecrittenden/codeigniter-installer

Sign up to request clarification or add additional context in comments.

3 Comments

Hi Schop, while this link you've posted may help solve the question today. If the link were to ever break, it won't be useful anymore. Consider making an edit to your answer to bring in some more details from the resource into the body of your answer. Since it's likely something the asker will need, you could explain why this is the correct answer and how this will help. This ensures that if the link ever breaks, your answer will still have value to future visitors. Good luck!
Thanks! This is exactly what I need. Does anyone know or it's possible to let's generate a installer for the database as well (using the CI Database Forge Class or something like that, so it will install on every kind of database)?
My installation module works all fine but as i list tables in the database just after the tables creations, it only shows one table. That is why My insert script also says database.table does not exist. Can any one let me know how to overcome this ? might be database cache thing or what

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.