How to use Python 3 with Google App Engine's Local Development Server

前端 未结 1 1220
北恋
北恋 2021-01-12 04:03

I\'ve got a local Python application configured with

runtime: python

in it\'s app.yaml file. When starting the local developme

相关标签:
1条回答
  • 2021-01-12 04:34

    Using the Local Development Server is applicable to the first generation standard environment apps only.

    For running locally flexible env apps see Running locally:

    You run your application locally with the native development tools that you usually use.

    For example, you can usually run a Flask application with Flask's development server using:

    python main.py
    

    Django applications can be started using:

    python manage.py runserver
    

    Related: How to tell if a Google App Engine documentation page applies to the standard or the flexible environment

    Update:

    Support for the 2nd generation standard environment is limited, see Python 3.7 Local Development Server Options for new app engine apps

    0 讨论(0)
提交回复
热议问题