0

我几乎是 Google App Engine 的新手,但我有一个家庭作业来用它创建一些应用程序。我正在尝试使用 google 交互式 shell 离线调试我的应用程序。http://localhost:8080看起来不错,但是当我尝试打开http://localhost:8080/shell进行调试时,它给了我损坏的 URL。我检查了我的目录,它们对我来说很好。

我认为我的问题出在 app.yaml 文件中。好吧,我对 .yaml 文件一无所知,谁能告诉我我在哪里做错了?

这是我的 app.yaml(我将所有交互式 shell 属性放在名为“shell”的文件夹中)

application: myapp
version: 1

runtime: python
api_version: 1

handlers:
- url: /static
  static_dir: shell/static
  expiration: 1d

- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py

- url: /shell.*
  script: shell/shell.py

- url: /
  script: myapp.py
4

1 回答 1

0

如果你想在http://localhost:8080/shell 中找到它,shell.* 是否应该是 yaml 规则中的 shell

- url: /shell
  script: shell/shell.py
于 2011-11-12T20:14:53.270 回答