3 days ago I started using google appengine to see how it works.
I have set the basic app that prints “hello”. Nothing complicated. I updated the simple app thet prints “hello” app and it worked perfectly.
Then I wanted to experiment a little more:
First I did is that I uploaded new program (i didint change app.yaml, just main.py)
Then i got a empty screen.
Then I uploaded a new version of app (changed version in app.yaml, and main.py), I have changed a versions in admin in backend. I still had a empty screen.
Thanks.
This is my code:
main.py
#!/usr/bin/env python
print 'Hello, World!'
app.yaml:
application: searchbarrel
version: 2
runtime: python
api_version: 1
handlers:
- url: /.*
script: main.py
The app works good on localhost
this can’t work. its not enough to write a file that has a
print helloinside. you need to create a WSGI app and make a RequestHandler that processes your request and writes thehello worldout.main.py
you should read the getting started guide first.
https://cloud.google.com/appengine/docs/standard/python/