Install Dokku using Vagrant
- Download and install VirtualBox
- Download and install Vagrant
-
Clone Dokku
-
Create VM
-
Setup SSH Config in
~/.ssh/config.For users that have customized the IP address of their VM - either in a custom
Vagrantfileor via theDOKKU_IPenvironment variable - and are not using10.0.0.2for the Vagrant IP, you'll need to instead use the output ofvagrant ssh-config dokkufor your ~/.ssh/config entry. -
Copy your SSH key via
cat ~/.ssh/id_rsa.pub | pbcopyand paste it into the dokku-installer at http://dokku.me . Change theHostnamefield on the Dokku Setup screen to your domain and then check the box that saysUse virtualhost naming. Then click Finish Setup to install your key. You'll be directed to application deployment instructions from here.
Please note, the dokku.me domain is setup to point to 10.0.0.2 along with all subdomains (ie yourapp.dokku.me). If you change the DOKKU_IP in your vagrant setup you'll need to update your /etc/hosts file to point your reconfigured ip address.
You are now ready to deploy an app or install plugins.