我正在通过以下教程查看dokku:http://progrium.viewdocs.io/dokku/application-deployment/
我理解git将代码向上推高,如下所示:http://progrium.viewdocs.io/dokku/application-deployment/#deploy-the-app
但dokku从未接手实际部署。要达到这个目的,这是一组简单的步骤,我不知道在设置中可能有什么问题。
不过,有一件事是,直到我在服务器上创建了一个裸露的回购程序,我才能启动git推送。不确定是否应该在文档中执行该步骤,或者我是否错误地执行了该步骤。
问题是,我意识到我在错误的地方(根目录中)插入了原始的回购,所以我杀死了它,并在dokku应用程序目录中删除了它。(同样,请注意,本教程根本没有提到需要这样做).但现在我,再一次,无法开始推动。我得到:
$ git push dokku master
fatal: 'ruby-rails-sample' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.我确实有访问权限(密钥等等),当我在根目录dir中插入时,就可以进行推送。
任何关于以下方面的意见:
发布于 2017-05-25 08:17:03
你以前运行过dokku apps:create ruby-rails-sample吗?可能就是这样。
https://stackoverflow.com/questions/33788476
复制相似问题