server parameter not specified in *.py

后端 未结 1 1557
天命终不由人
天命终不由人 2021-01-21 09:59

I get the message:

\'server\' parameter not specified in *.py 

after doing:

appcfg.py update *.py

in the term

1条回答
  •  南笙
    南笙 (楼主)
    2021-01-21 10:18

    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).

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