Skip to content

Instantly share code, notes, and snippets.

@t-io
Forked from alextucker/README.md
Last active May 7, 2017 22:01
Show Gist options
  • Save t-io/8337368 to your computer and use it in GitHub Desktop.
Save t-io/8337368 to your computer and use it in GitHub Desktop.

Deploying Django on Dokku

Link: http://is.gd/dokkudjango

Dokku: https://github.com/progrium/dokku

DigitalOcean: https://www.digitalocean.com/

Deploy a Droplet on DigitalOcean

Add an SSH key to DigitalOcean before hand to make SSHing into you new box easier and more secure.

  1. Click "Create"
  2. Enter hostname, select size and region
  3. Select Ubuntu 13.04 x64 as the Image
  4. Select your SSH key
  5. Click "Create Droplet"

Setup DNS

  1. Add a blank A Record pointing to the IP Address of your new Droplet
  2. Add a wildcard (*) A Record pointing to the same domain to capture all of the subdomains.

Install Dokku

  1. SSH into your Droplet. Just ssh [email protected] should work if you add an SSH Key. If not, DigitalOcean emailed you a root password.
  2. Copy and Paste and oneline installer from the Dokku Repo README. Something like this wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash
  3. Wait 5 minutes. 🍺
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment