开发者

Auto Installer for Cake PHP Application

开发者 https://www.devze.com 2023-01-30 10:42 出处:网络
I am developing a Cake PHP application. I am wondering if there is a simple way to create auto installer for the Cake PHP application (similar to one available for most of the commercial and open sour

I am developing a Cake PHP application. I am wondering if there is a simple way to create auto installer for the Cake PHP application (similar to one available for most of the commercial and open source CMS e.g. Joomla, WordPress).

I guess below are the steps involved.

  • Check if the target system meets Cake PHP requirements ( along with extra libs if any)
  • Take DB credentials as input and run sql file to create the schema
  • Delete and t开发者_StackOverflow社区emp files created in the process along with installer files (to save user from accidentally overwriting the DB and files)

It would be great if someone can help me out with step by step process for the same.


This should help - http://cakebaker.42dh.com/2007/04/16/writing-an-installer-for-your-cakephp-application/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号