gpt4 book ai didi

django - '网络 :' is not recognised as an internal or external command

转载 作者:行者123 更新时间:2023-12-03 23:23:31 26 4
gpt4 key购买 nike

我正在尝试在 heroku 中获取您的第一个 django 应用程序。那里提到“在您的应用程序的根目录中使用 Procfile 来明确声明应该执行什么命令来启动您的应用程序”。
命令是“web:gunicorn gettingstarted.wsgi --log-file -”
我看到的错误是“web:”未被识别为内部或外部命令。
请帮帮我。

最佳答案

您应该将该命令放入名为 Procfile 的文件中,而不是将其输入到终端中。

关于django - '网络 :' is not recognised as an internal or external command,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28982778/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com