[英]In which terminal do I run these commands?
I'm trying to create a buildpack with libwebp , and I'm trying to follow this tutorial , which starts with the following commands:我正在尝试使用libwebp创建一个 buildpack,并且我正在尝试遵循本教程,该教程以以下命令开头:
heroku create buildpack-stager
heroku run bash --app buildpack-stager
curl -O https://mupdf.googlecode.com/files/mupdf-1.3-source.tar.gz
tar -xvzf mupdf-1.3-source.tar.gz
Should these initial commands be run in the terminal of my application on heroku?这些初始命令是否应该在 heroku 上的应用程序终端中运行?
heroku create
should be run on your local machine. heroku create
应该在您的本地计算机上运行。 This creates a new app on Heroku , so if you already have an app to work with it may not be necessary.这会在 Heroku 上创建一个新应用程序,因此如果您已经有一个应用程序可以使用它可能没有必要。
heroku run bash
should also be run on your local machine. heroku run bash
也应该在本地计算机上运行。 This spins up a one-off dyno for your app and runs the command bash
on it .这将为您的应用程序启动一个一次性的测功机并在其上运行命令
bash
。
From there, it looks like they want you to continue with curl
, tar
, etc. in the same shell as the previous step.从那里开始,他们似乎希望您在与上一步相同的 shell 中继续使用
curl
、 tar
等。 The effect will be that these commands are run on the one-off dyno you're using, but you don't need to change terminals or anything.效果将是这些命令在您使用的一次性测功机上运行,但您不需要更改终端或任何东西。
You might find the Heroku CLI commands documentation page helpful.您可能会发现Heroku CLI 命令文档页面很有帮助。
All these commands you should run on your local terminal (bash, etc.)您应该在本地终端(bash 等)上运行所有这些命令
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.