【发布时间】:2014-08-10 08:41:58
【问题描述】:
我正在尝试使用新的云 SDK 预览(gcloud preview app run DIRNAME)启动我的应用,响应是:
INFO: Starting API server at: http://localhost:51695
INFO: Starting module "api" running at: http://localhost:8080
INFO: Starting module "default" running at: http://localhost:8081
INFO: Starting admin server at: http://localhost:8000
调度程序未运行,我无法获得所述调度程序服务 URL here.
调度程序在生产环境中功能齐全,但我无法通过开发服务器启动它。
如何让 Google Cloud SDK 识别 dispatch.yaml?
dispatch.yaml 看起来像这样:
application: my-super-secret-app-id
dispatch:
- url: "*/"
module: default
- url: "*/_*"
module: api
目标是为来自默认模块的所有“常规”请求提供服务,并且请求以下划线开头到“api”模块。
【问题讨论】:
-
你的 dispatch.yaml 文件是什么样的?
-
我已将其添加到问题中。
标签: python google-app-engine dispatcher dev-appserver