如何添加插件到heroku repo?

时间:2016-08-27 06:44:27

标签: heroku github

我在终端上给了heroku plugins:install heroku-first-blog。我收到了类似这样的错误

 Installing plugin heroku-first-blog... !
         ▸    Plugin not found
         !    error installing plugin heroku-first-blog

1 个答案:

答案 0 :(得分:1)

要使用heroku plugins,您需要指定插件git存储库URL。例如,如果您想安装heroku accounts插件,您可能会说:

heroku plugins:install https://github.com/ddollar/heroku-accounts.git

这是我自己在本地运行此命令时会发生什么:

$ heroku plugins:install https://github.com/ddollar/heroku-accounts.git                                                   
Installing https://github.com/ddollar/heroku-accounts.git... done
相关问题