Ghost and DigitalOcean

Reference

Initial setup

Initial steps taken for creating a Ghost instance on DigitalOcean:

  1. Create new droplet
  • enter name
  • choose size - smallest
  • choose image - Ghost application
  • upload ssh key
  1. Create a new A name record at DNS provider (in this case domain is still using the registrar's name servers - Gandi) for the notes subdomain pointing to the IP address of the droplet
  2. SSH to droplet and update 2 x config files to update URL of Ghost instance
  3. Restart Ghost service: service ghost restart
  4. Browse to GHOST_URL/ghost to set up new user details (or use IP address while DNS propagates)
  5. Sign up for mailgun and add necessary DNS records at Gandi to send email from dot.kitchen domain
  6. Wait for DNS to propagate (again)
  7. Update config.js to enter mail settings from mailgun and restart ghost service service ghost restart
  8. Test email by logging out and requesting a password reset going to settings > labs > send a test email

Next steps

  1. SSL for admin http://support.ghost.org/setup-ssl-self-hosted-ghost/
  2. Modify the theme http://support.ghost.org/ghost-themes-overview/ or choose a new one http://marketplace.ghost.org/
  3. Put together workflow for automatically uploading screenshots to Cloudinary and copying resulting URL to clipboard ready to paste into post