Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion appengine/standard_python37/bigquery/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ def main():


if __name__ == '__main__':
app.run(debug=True)
# This is used when running locally only. When deploying to Google App
# Engine, a webserver process such as Gunicorn will serve the app. This
# can be configured by adding an `entrypoint` to app.yaml.
app.run(host='127.0.0.1', port=8080, debug=True)
# [END gae_python37_bigquery]
4 changes: 3 additions & 1 deletion appengine/standard_python37/redis/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ def index():


if __name__ == '__main__':
# This is used when running locally.
# This is used when running locally only. When deploying to Google App
# Engine, a webserver process such as Gunicorn will serve the app. This
# can be configured by adding an `entrypoint` to app.yaml.
app.run(host='127.0.0.1', port=8080, debug=True)