From dd30525c27f6d77a7d4e5eaee271741899e67faa Mon Sep 17 00:00:00 2001 From: Harry Moreno Date: Thu, 15 Nov 2018 18:25:59 -0500 Subject: [PATCH] Note dokku.me is hostname and note ssh-agent [ci-skip] --- docs/deployment/application-deployment.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/deployment/application-deployment.md b/docs/deployment/application-deployment.md index 144478833..04165af1d 100644 --- a/docs/deployment/application-deployment.md +++ b/docs/deployment/application-deployment.md @@ -1,5 +1,8 @@ # Deploying to Dokku +> Note: This document uses the hostname `dokku.me` in commands. For your server please +> substitute your server's hostname instead. + ## Deploy tutorial Once Dokku has been configured with at least one user, applications can be deployed via a `git push` command. To quickly see Dokku deployment in action, you can use the Heroku Ruby on Rails example app. @@ -63,6 +66,10 @@ git push dokku master > the upstream with the scheme `ssh://` like so: `ssh://dokku@dokku.me:ruby-rails-sample` > Please see the [Git](https://git-scm.com/docs/git-clone#_git_urls_a_id_urls_a) documentation for more details. +> Note: Your private key should be registered with ssh-agent in local development. If you get a +> permission denied error when pushing you can register your private key by running +> `ssh-add -k ~/`. + ``` Counting objects: 231, done. Delta compression using up to 8 threads.