Heroku specify which app to run command on?
From the Heroku docs:
heroku run python manage.py syncdb --app officialheroku
As an FYI, the general usage syntax from the CLI is as follows:
heroku COMMAND [--app APP] [command-specific-options]
There are two ways to do this:
heroku --app heroku_app_name
(where the app name is the foo part infoo.herokuapp.com
)heroku --remote git_remote_name
(where the remote name is one of the items that shows up in the list when you rungit remote
)