Update application-deployment.md

This commit is contained in:
Slava Vishnyakov
2016-12-15 18:47:58 +03:00
committed by GitHub
parent f100a3ee4c
commit 4c86f88816

View File

@@ -103,14 +103,15 @@ dokku config:set ruby-rails-sample DOKKU_SKIP_DEPLOY=true
### Re-Deploying / restarting
If you need to re-deploy (or restart) your app. See the
[process scaling documentation](/dokku/deployment/process-management) for more information.
If you need to re-deploy (or restart) your app:
```shell
# on your Dokku host
dokku ps:rebuild ruby-rails-sample
```
(See the [process scaling documentation](/dokku/deployment/process-management) for more information.
### 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.