I've change the `app.yaml` file to match the docs:
```
runtime: python37

handlers:
- url: /static
  static_dir: static

- url: /.*
  script: auto
```
But I now realise that when I try to test the app, I don't use the yaml 
file at all because this is my command line for local testing:
`gunicorn -b localhost:8080 --reload --log-level debug main:app`
So that only knows about main.py; it doesn't know anything about the yaml 
file. 

So, how do I do _local_ testing using the yaml file to serve up the static 
files and relying on main.py for the dynamic pages?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1f080bb5-c7d0-40a2-87b6-84f54db70ec4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-ap... 'Mark Summerfield' via Google App Engine
    • [goog... 'Mark Summerfield' via Google App Engine
      • [... 'Mark Summerfield' via Google App Engine
        • ... 'Mark Summerfield' via Google App Engine
          • ... 'Mark Summerfield' via Google App Engine
            • ... 'George (Cloud Platform Support)' via Google App Engine
              • ... 'Mark Summerfield' via Google App Engine
                • ... 'Nicolas (Google Cloud Platform Support)' via Google App Engine
          • ... Khaled Wagdy

Reply via email to