From cda2e3d048688d844ed577c1cddbf2932461a309 Mon Sep 17 00:00:00 2001 From: Slava Vishnyakov Date: Thu, 15 Dec 2016 14:19:41 +0300 Subject: [PATCH] Re-deploying/restarting --- docs/deployment/application-deployment.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/deployment/application-deployment.md b/docs/deployment/application-deployment.md index e96df35ba..1ea084291 100644 --- a/docs/deployment/application-deployment.md +++ b/docs/deployment/application-deployment.md @@ -101,6 +101,15 @@ If you only want to rebuild and tag a container, you can skip the deployment pha dokku config:set ruby-rails-sample DOKKU_SKIP_DEPLOY=true ``` +### Re-Deploying / restarting + +If you need to re-deploy (or restart) your app: + +```shell +# on your Dokku host +dokku deploy ruby-rails-sample +``` + ### Deploying with private git submodules Dokku uses git locally (i.e. not a docker image) to build its own copy of your app repo, including submodules. This is done as the `dokku` user. Therefore, in order to deploy private git submodules, you'll need to drop your deploy key in `/home/dokku/.ssh/` and potentially add github.com (or your VCS host key) into `/home/dokku/.ssh/known_hosts`. The following test should help confirm you've done it correctly.