ojengwa / cake-appengine
为 Google App Engine 定制的 CakePHP 3 模板项目。
dev-master
2015-11-13 13:03 UTC
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.1
- cakephp/migrations: ~1.0
- cakephp/plugin-installer: *
- mobiledetect/mobiledetectlib: 2.*
Requires (Dev)
- cakephp/bake: ~1.1
- cakephp/debug_kit: ~3.2
- 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: 2024-09-18 19:00:31 UTC
README
用于创建 Google App Engine 应用程序的 CakePHP 3.x 骨架。
框架源代码可在此找到:cakephp/cakephp。
安装
- 下载 Composer 或更新
composer self-update
。 - 运行
php composer.phar create-project --prefer-dist ojengwa/cake-appengine [app_name]
。
如果Composer已全局安装,运行
composer create-project --prefer-dist ojengwa/cake-appengine [app_name]
现在你应该可以访问你安装应用程序的路径,并看到设置交通灯。
配置
-
编辑
app.yaml
并将 PROJECT_ID 和 PROJECT_VERSION 替换为正确的值。 -
阅读并编辑
config/app.php
并设置 '数据源' 和与应用程序相关的任何其他配置。