I'm trying to create a buildpack with libwebp, and I'm trying to follow this tutorial, which starts with the following commands:
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?
CodePudding user response:
heroku create
should be run on your local machine. This creates a new app on Heroku, so if you already have an app to work with it may not be necessary.
heroku run bash
should also be run on your local machine. This spins up a one-off dyno for your app and runs the command bash
on it.
From there, it looks like they want you to continue with curl
, tar
, etc. in the same shell as the previous step. 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.
CodePudding user response:
All these commands you should run on your local terminal (bash, etc.)