Code Monkey home page Code Monkey logo

codeigniter-installer's Introduction

CodeIgniter Installer

General Information

CI Installer is a starting point for giving your downloadable CodeIgniter application an installer.

If you're making a CI app that is designed to be downloaded and self-hosted, CI Installer provides an easy way for the user to get the database structure and configuration in place.

NOTE: This is to be used as a starting point. You will have to customize it to make it work for your application, and you might have to dig into the code a little bit. It's pretty simple, so if you have a basic understanding of PHP you shouldn't have trouble.

General Instructions

  1. Download CI Installer, rename the folder to 'install' and put it in the root directory of your CI install (as a sibling to the /system folder).
  2. Make an SQL dump of your desired database structure and intial data and paste it into assets/install.sql
  3. Open up index.php and change "Your App" in the <title> to your app's name.
  4. If your CI application folder is a sibling of your system folder instead of a child (this is common), do a find/replace to replace 'system/application' with 'application' in each of this project's files.
  5. If you have .htaccess file in CodeIgniter root folder, change the line: RewriteCond $1 !^(index.php|img|css|js|robots.txt|favicon.ico|update.php|install.php) to: RewriteCond $1 !^(index.php|img|css|js|install|robots.txt|favicon.ico|update.php)
  • In index.php, around line 37 change 'welcome' to the URL of the page (in CodeIgniter) that you want the user to be redirected to after installing.
  • Visit http://example.com/path/to/yourapp/install and see how it goes.

If you have problems or have recommendations, please file an issue at http://github.com/mikecrittenden/ci-installer/ or else it won't get fixed!

codeigniter-installer's People

Contributors

crittermike avatar weex avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.