bmilesp/cakephp-post-install

该软件包最新版本(0.4.6)没有提供许可证信息。

将 CakePHP 安装脚本发布以自动设置。适用于与 Composer Post Install 自动化脚本一起使用。

安装: 216

依赖: 0

建议: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

语言:Shell

类型:cakephp-plugin

0.4.6 2015-06-24 03:33 UTC

README

安装

如果您想自动设置项目的数据库,请修改 Plugin/CakephpPostInstall/Console/bootstrap.sh 中 mysql 的设置。

如果您没有使用 install.sh(https://gist.github.com/bmilesp/933ab244e5d8a6550c84),您需要将以下文件的执行权限设置为 777

chmod 777 Plugin/CakephpPostInstall/Console/post_install.sh chmod 777 Vendor/cakephp/cakephp/lib/Cake/Console/cake

手动运行:bash Plugin/CakephpPostInstall/Console/post_install.sh

如果您是在生产服务器上首次运行,可能需要将权限设置回原状(再次提醒,如果未使用 install.sh(https://gist.github.com/bmilesp/933ab244e5d8a6550c84))

例如:

chmod 644 Plugin/CakephpPostInstall/Console/post_install.sh chmod 644 Vendor/cakephp/cakephp/lib/Cake/Console/cake