I've created a new app with an `app.yaml` that has a runtime of python37 
and that has some handlers, e.g.,
```yaml
runtime: python37

handlers:
- url: /query
  script: main.app

- url: /
  static_files: static/index.html
  upload: static/index.html

- url: /
  static_dir: static

```
I've installed Python 37 using virtualenv as the docs describe, as well as 
pip installing google-cloud-firestore and gunicorn.

But when I try running my app locally to test it, I get this output:
```
(env) : gunicorn -b localhost:8080 --reload --log-level debug main:app
[2019-04-08 15:54:50 +0100] [6243] [DEBUG] Current configuration:
... elided ...
[2019-04-08 15:54:50 +0100] [6243] [INFO] Starting gunicorn 19.9.0
[2019-04-08 15:54:50 +0100] [6243] [DEBUG] Arbiter booted
[2019-04-08 15:54:50 +0100] [6243] [INFO] Listening at: 
http://127.0.0.1:8080 (6243)
[2019-04-08 15:54:50 +0100] [6243] [INFO] Using worker: sync
[2019-04-08 15:54:50 +0100] [6246] [INFO] Booting worker with pid: 6246
[2019-04-08 15:54:50 +0100] [6243] [DEBUG] 1 workers
[2019-04-08 15:54:54 +0100] [6246] [DEBUG] GET /
[2019-04-08 15:55:06 +0100] [6246] [DEBUG] GET /index.html
```
which looks like there's nothing wrong.
But in the browser when I visit localhost:8080 (or 127.0.0.1:8080) I get a 
404 file not found.

I've used GAE for years with appcfg and that was easy to test locally, but 
I can't figure this out.

-- 
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/c323897a-97e4-484b-82ad-13dd981a159a%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