From 99e0a43f8134e1ad1163600182a5e81e227a7f4e Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Fri, 22 Nov 2013 22:22:20 +0000 Subject: [PATCH] Remove known issues and add note about ForceTTY These issues are fixed by this PR. --- README.md | 16 +++++++++------- tests/run_vagrant | 1 + 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 33dc30115..b3b2929ab 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,15 @@ You're done! Right now Buildstep supports buildpacks for Node.js, Ruby, Python, [and more](https://github.com/progrium/buildstep#supported-buildpacks). It's not hard to add more, [go add more](https://github.com/progrium/buildstep#adding-buildpacks)! Please check the documentation for your particular build pack as you may need to include configuration files (such as a Procfile) in your project root. +## Remote commands + +Dokku commands can be run over ssh. Anywhere you would run `dokku `, just run `ssh -t dokku@progriumapp.com ` +The `-t` is used to request a pty. It is highly recommended to do so. +To avoid the need to type the `-t` option each time, simply create/modify a section in the `.ssh/config`, on the client side, as follows : + + Host progriumapp.com + RequestTTY yes + ## Run a command in the app environment It's possible to run commands in the environment of the deployed application: @@ -119,13 +128,6 @@ eventually replace the Docker image for buildstep. You can use [Github Issues](https://github.com/progrium/dokku/issues), check [Troubleshooting](https://github.com/progrium/dokku/wiki/Troubleshooting) on the wiki, or join us on Freenode in #dokku -## Known Issues - -The issues are known and should be fixed soon : - - * #236: "dokku run" cannot run interactive commands over ssh - * #272: Most commands hang at the end over ssh. CTRL-D is required to end them. As a workaround for now, run ssh using the `-t` flag. - ## Components * [Docker](https://github.com/dotcloud/docker) - Container runtime and manager diff --git a/tests/run_vagrant b/tests/run_vagrant index 0a505692d..2e91c8651 100755 --- a/tests/run_vagrant +++ b/tests/run_vagrant @@ -10,6 +10,7 @@ if [[ ! $(cat ~/.ssh/config 2>/dev/null | grep dokku.me) ]]; then touch ~/.ssh/config echo "Host dokku.me" >> ~/.ssh/config echo " Port $VAGRANT_SSH_PORT" >> ~/.ssh/config + echo " RequestTTY yes" >> ~/.ssh/config fi echo "-----> Ensuring Vagrant is running..." cd "$(dirname $SELF)/.." && vagrant up | indent