问题描述
'server'参数未在* .py中指定
完成后:
appcfg。 py更新* .py
在终端中。
当我在应用程序中查看仪表板时,当前列的版本显示'none deployed'。
从终端运行该命令,您想要将 appcfg.py
指向包含应用程序文件的文件夹。该文件夹将包含您的 app.yaml
。假设该文件夹名为 my_project
,您可以从应用程序上方的文件夹执行以下命令:
python appcfg.py更新my_project
这里的区别在于您提供了整个应用程序到 appcfg
,而不是任何 .py
文件(正如你所看到的那样将不起作用) p>
I get the message:
'server' parameter not specified in *.py
after doing:
appcfg.py update *.py
in the terminal.When I look in my dashboard at the app the column current version says 'none deployed'.
When you run the command from the terminal, you want to point appcfg.py
to the folder that contains your application files. This folder will be the one that contains your app.yaml
. Assuming that folder is called my_project
, you would execute the following from the folder above your application:
python appcfg.py update my_project
The difference here is that you are supplying your entire application to appcfg
, as opposed to any .py
files (which as you see will not work).
这篇关于服务器参数未在* .py中指定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!