google / appengine-php-cakephp-starter-app
该包已被废弃且不再维护。未建议替换包。
Google App Engine 的 CakePHP 框架应用程序
3.0.3-p2
2015-06-23 23:56 UTC
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: *
- mobiledetect/mobiledetectlib: 2.*
Requires (Dev)
- cakephp/bake: ~1.0
- cakephp/debug_kit: ~3.0
- psy/psysh: @stable
Suggests
- cakephp/cakephp-codesniffer: Allows to check the code against the coding standards used in CakePHP.
- phpunit/phpunit: Allows automated tests to be run without system-wide install.
This package is not auto-updated.
Last update: 2020-12-11 21:58:41 UTC
README
CakePHP 应用程序框架
为使用 CakePHP 3.0 创建 Google App Engine 应用程序提供框架。
安装
- 下载Composer或更新
composer self-update
。 - 运行
php composer.phar create-project --prefer-dist google/appengine-php-cakephp-starter-app [app_name]
。
如果Composer已全局安装,则运行
composer create-project --prefer-dist google/appengine-php-cakephp-starter-app [app_name]
现在您应该能够访问您安装应用程序的路径,并看到设置交通灯。
配置
Composer 安装脚本将要求输入生产环境和开发数据库配置,并为应用程序创建正确的 app.yaml
文件。
如果这些详细信息需要更新,请编辑 app.yaml
并配置 MySQL 环境变量以连接到适用于您应用程序的更新后的 MySQL 配置。