google interactive shell

212 views Asked by At

I'm practically new to Google App Engine, but i have a homework to create some app with it. I'm trying to debugging my app offline using google interactive shell. http://localhost:8080 looks fine, but when i tried to open http://localhost:8080/shell for debugging, it gave me broken URL. I have my directories checked, and they are fine for me.

I think my problem is in app.yaml file. Well, I know nothing about .yaml file, could anyone please tell me where I put something wrong in it?

Here's my app.yaml (I put all interactive shell properties in folder named '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
1

There are 1 answers

0
Teemu Ikonen On BEST ANSWER

Should the shell.* be shell in yaml rule if you want to find it in http://localhost:8080/shell

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