我想用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部署到digitalocean上的dokku,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/28951218/

10-13 02:18