mahesh
mahesh

Reputation: 4763

How to write `app.yaml` file for Google App Engine app?

I registered a Google App Engine app and I have some files below:

How should I write the app.yaml file?

Upvotes: 1

Views: 1485

Answers (1)

rmflow
rmflow

Reputation: 4755

you should put your static files into some directory, for example staticdata then your app.yaml would look like:

application: temp
version: 1
runtime: python
api_version: 1

handlers:
- url: /staticdata
  static_dir: staticdata

- url: /.*
  script: temp.py

Upvotes: 1

Related Questions