codeigniter-installer

A starting point for building an installer on CodeIgniter, useful for self-hosted web apps that need to have a GUI installer

  • 所有者: crittermike/codeigniter-installer
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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 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!

主要指标

概览
名称与所有者crittermike/codeigniter-installer
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证Other
所有者活动
创建于2010-02-12 14:05:51
推送于2015-12-26 15:21:23
最后一次提交2015-07-23 09:33:48
发布数0
用户参与
星数138
关注者数24
派生数82
提交数18
已启用问题?
问题数6
打开的问题数4
拉请求数6
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?