【问题标题】:Deploy with git to dokku on digitalocean使用 git 部署到 digitalocean 上的 dokku
【发布时间】:2015-03-09 20:33:10
【问题描述】:

我正在尝试使用 git 在 digitalocean 上推送我的第一个应用程序。服务器上安装了一个 dokku 实例。

我尝试了this Tutorial,但是当我尝试git push dokku master 时,它说:

fatal: 'testapp' 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.

【问题讨论】:

  • 某个好人给了我一个提示:$ cat /c/users/[username]/.ssh/id_rsa.pub | ssh root@[serverIP] "sudo sshcomm and acl-add dokku [aRandomWord]" 现在它可以工作了!也许有人在那里,谁能解释这个命令的作用?谢谢

标签: node.js git dokku


【解决方案1】:

使用这个命令:

$ cat /c/users/[username]/.ssh/id_rsa.pub | ssh root@[serverIP] "sudo sshcomm and acl-add dokku [aRandomWord]"

【讨论】:

    猜你喜欢
    • 2015-03-09
    • 1970-01-01
    • 1970-01-01
    • 2020-04-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-08
    • 1970-01-01
    相关资源
    最近更新 更多