From 9ebf453b72cab3a16ea261284236bb7c20ca3a1a Mon Sep 17 00:00:00 2001 From: Toby Corkindale Date: Tue, 23 Jul 2013 15:15:21 +1000 Subject: [PATCH 1/2] Add docs on how to upgrade build step --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index d1c7ee567..f3643f413 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ your own clone of dokku using the DOKKU_REPO environment variable. Example: ## Upgrading Dokku is in active development. You can update the deployment step and the build step separately. + To update the deploy step (this is updated less frequently): $ cd ~/dokku @@ -97,6 +98,16 @@ To update the deploy step (this is updated less frequently): Nothing needs to be restarted. Changes will take effect on the next push / deployment. +To update the build step: + + $ git clone https://github.com/progrium/buildstep.git + $ cd buildstep + $ git pull origin master + $ sudo make build + +This will build a fresh Ubuntu Quantal image, install a number of packages, and +eventually replace the Docker image for buildstep. + ## Support 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 From 30d39d0da22fade00e4e6751e8f446431896cb9d Mon Sep 17 00:00:00 2001 From: Toby Corkindale Date: Tue, 23 Jul 2013 15:20:23 +1000 Subject: [PATCH 2/2] Add documentation on how to remove deployed apps --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index f3643f413..f71e780a5 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,21 @@ the Heroku Node.js sample app. All you have to do is add a remote to name the ap You're done! +## Removing a deployed app + +Currently this is a manual process. + +To remove an app, ssh to the server, then run: + + $ sudo docker ps + # Then from the list, take repository name of your app and run: + $ sudo docker stop app/node-js-sample + # To find the ids of images to delete, run: + $ sudo docker images + # Then from that list, take the IDs corresponding to your app, and + # those corresponding to no tag at all, and for each run: + $ sudo docker rmi 123456789 + ## Environment setup Typically application requires some environment variables to be set up for proper run. Environment variables might contain some private date, like passwords and API keys, so it's not recommend to store them as part of source code.