groton-school/slim-gae-shim
最新稳定版本:2.1.2
Composer 安装命令:
composer require groton-school/slim-gae-shim
包简介
Shim for Slim Skelton to run on Google App Engine
README 文档
README
Shim for Slim Skeleton to run on Google App Engine
Install
composer require groton-school/slim-gae-shim
Use
The shim expects a default slim-skeleton layout (and configures GAE to reflect this).
- In your
composer.jsonadd apost-update-cmdupdate script:
{
"scripts": {
"post-update-cmd": "GrotonSchool\\Slim\\GAE\\Scripts::installGAEFiles"
}
}
-
Run
composer update -
Add
/node_modules/to your.gitignore -
Optionally, add
*.bakto your.gitignoreto suppress backed up prior versions of the GAE config files -
Inject Google App Engine environment variables into settings:
a. Implement
SettingsInterfaceb. Define the
SettingsInterfacedependency -
Optionally (but recommendedly), suppress error log messages about Google App Engine start/stop requests by defining routes for those requests
-
Deploy to Google App Engine using the Node
deploywizard provided.a. Configure a Billing Account with your Google Cloud account, if not already done.
c. Install Node dependencies with the package manager of your choice (e.g.
pnpm install)d. Run the deploy wizard (
pnpm run deploy) interactively (after the first run, this will set environment variables to allow it to be run non-interactively in the future)
groton-school/slim-skeleton@dev-gae/app
groton-school/slim-skeleton is the canonical example of how this shim is meant to be used.
统计信息
- 总下载量: 556
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2025-03-29