= conoha/roles/dokku

Role to install dokku 0.5.7 .

After finish installation, access to `http://d.10sr.mydns.jp` and finish setup.



== Deploying Apps


デプロイするには、

----
cat .ssh/id_rsa.pub | ssh conoha 'sudo sshcommand acl-add dokku dokkudeploy'
----

みたいなことをマシン毎にしなきゃいけません。どうにかして自動化したい。




=== Add Apps

.Add pytohn-getting-started app
----
alias dokku="ssh -t dokku@conoha"

cd ../../dokku-apps/python-getting-started

dokku apps:create python-getting-started
git remote add dokku dokku@conoha:python-getting-started
git push dokku master
----



== Refs

* http://dokku.viewdocs.io/dokku/application-deployment/
* https://gist.github.com/10sr/cf8b84cf16f2e67f5dac

= conoha/roles/dokku

Role to install dokku 0.5.7 .

After finish installation, access to `http://d.10sr.mydns.jp` and finish setup.



== Deploying Apps


デプロイするには、

----
cat .ssh/id_rsa.pub | ssh conoha 'sudo sshcommand acl-add dokku dokkudeploy'
----

みたいなことをマシン毎にしなきゃいけません。どうにかして自動化したい。




=== Add Apps

.Add pytohn-getting-started app
----
alias dokku="ssh -t dokku@conoha"

cd ../../dokku-apps/python-getting-started

dokku apps:create python-getting-started
git remote add dokku dokku@conoha:python-getting-started
git push dokku master
----

And this app can be available at http://python-getting-started.d.10sr.mydns.jp



== Refs

* http://dokku.viewdocs.io/dokku/application-deployment/
* https://gist.github.com/10sr/cf8b84cf16f2e67f5dac

Add url to access apps
Add url to access apps
