File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
appengine/standard_python37 Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -39,5 +39,8 @@ def main():
39
39
40
40
41
41
if __name__ == '__main__' :
42
- app .run (debug = True )
42
+ # This is used when running locally only. When deploying to Google App
43
+ # Engine, a webserver process such as Gunicorn will serve the app. This
44
+ # can be configured by adding an `entrypoint` to app.yaml.
45
+ app .run (host = '127.0.0.1' , port = 8080 , debug = True )
43
46
# [END gae_python37_bigquery]
Original file line number Diff line number Diff line change @@ -39,5 +39,7 @@ def index():
39
39
40
40
41
41
if __name__ == '__main__' :
42
- # This is used when running locally.
42
+ # This is used when running locally only. When deploying to Google App
43
+ # Engine, a webserver process such as Gunicorn will serve the app. This
44
+ # can be configured by adding an `entrypoint` to app.yaml.
43
45
app .run (host = '127.0.0.1' , port = 8080 , debug = True )
You can’t perform that action at this time.
0 commit comments