$ wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash
$ cat ~/.ssh/id_rsa.pub | ssh [email protected] "gitreceive upload-key dokku"
$ git remote add dokku git@[SERVER_IP_ADDRESS]:[APP_NAME]
$ git push dokku master
$ wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash
$ cat ~/.ssh/id_rsa.pub | ssh [email protected] "gitreceive upload-key dokku"
$ git remote add dokku git@[SERVER_IP_ADDRESS]:[APP_NAME]
$ git push dokku master
Sorry @cpursley, github did not send any notification for gist comments. I think you need to config a web server(ex. nginx) to proxy request to port 49153.
Hi,
Thanks for the gist, regarding the migration I just ran 'dokku run [APP_NAME] rake db:migrate' and it worked fine for me. The only problem I had with this : at the end, nginx doesn't serve my compiled static assets from the public directory, I think I will use S3 for that as mentioned in dokku/dokku#372.
Hi, I used to follow the workaround for migration and found another (easier way) for that.
(https://www.digitalocean.com/community/tutorials/how-to-use-the-dokku-one-click-digitalocean-image-to-run-a-ruby-on-rails-app)
Thought you might be interested in it. :)
근데, 한국분이신가요??
I solve the migration problem by running the "dokku run xxx rake db:migrate" from local. And I installed dokku client first. This maybe help : https://github.com/progrium/dokku/blob/master/docs/community/clients.md
Thanks for the Gist.
Stupid question, but I've gotten as far as http://[MY_SERVER_IP_ADDRESS]:49153 which works and is live. But how do I set my DNS to point at this address? It won't accept a ":" character? Is there something else I need to do from the command line to configure my DNS with Dokku?