Python 3.7 Local Development Server Options for new app engine apps

前端 未结 2 401
时光说笑
时光说笑 2020-12-02 00:24

I have an app-engine app that is deployed and running on the standard Python3 runtime. I am also able to run it locally using normal commands like flask run. Bu

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 00:54

    For windows 10 :

    The solution was to install a linux subsystem for windows : https://docs.microsoft.com/en-us/windows/wsl/install-win10

    I use the Ubuntu app from the windows store, and follow the installation for installing the gcloud component on linux inside the ubuntu terminal: https://https://docs.microsoft.com/en-us/windows/wsl/install-win10cloud.google.com/sdk/docs/#deb

    Inside the Ubuntu terminal it is possible to access the windows file : the C drive would be /mnt/c. Getting back to my work folder, it is possible to start the web-app using the dev_appserver command.

    Using a navigator from windows we have access to the web-app as normal using localhost:8080.

    The development can still be done using an IDE in windows, running the server in Ubuntu.

提交回复
热议问题