<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>DigitalOcean on Martin C. Richards</title>
    <link>//www.martinrichards.me/tags/digitalocean/</link>
    <description>Recent content in DigitalOcean on Martin C. Richards</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 05 Oct 2016 21:44:02 +0200</lastBuildDate>
    <atom:link href="//www.martinrichards.me/tags/digitalocean/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Wordpress Done Right</title>
      <link>//www.martinrichards.me/post/wordpress_done_right/</link>
      <pubDate>Wed, 05 Oct 2016 21:44:02 +0200</pubDate>
      <guid>//www.martinrichards.me/post/wordpress_done_right/</guid>
      <description>&lt;h1 id=&#34;wordpress-done-right&#34;&gt;Wordpress Done Right&lt;/h1&gt;&#xA;&lt;p&gt;Wordpress is 22% of the internet, that is insane. It&amp;rsquo;s so popular because it makes it so easy for a layman to make a website. The problem is hosting and maintanence, there just doesn&amp;rsquo;t seem to be any sort of complete (at least to my standards) guide on how to do it right. This my guide on how to host a multi-site wordpress installation.&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;TLDR: Use Digital Ocean to spin up a Debian Jessie instance, it has &lt;code&gt;PHP 5.6&lt;/code&gt; as the default &lt;code&gt;PHP&lt;/code&gt; version in its repos. &lt;code&gt;PHP 5.5&lt;/code&gt; (ubuntu 14.04 default) is no longer supported and the wordpress ecosystem is not yet ready for &lt;code&gt;PHP 7&lt;/code&gt; (ubuntu 16.04 default).&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Build your own Heroku with Dokku</title>
      <link>//www.martinrichards.me/post/build_your_own_heroku_with_dokku/</link>
      <pubDate>Mon, 09 May 2016 07:40:19 +0200</pubDate>
      <guid>//www.martinrichards.me/post/build_your_own_heroku_with_dokku/</guid>
      <description>&lt;h1 id=&#34;build-your-own-heroku-with-dokku&#34;&gt;Build your own Heroku with Dokku&lt;/h1&gt;&#xA;&lt;p&gt;&lt;em&gt;Heroku is great! Until you want to build something mildly complex or off script.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;It provides a great platform to quickly deploy prototypes&#xA;witten in pretty much any langauge via git. This allows you to focus on your app&#xA;and getting your ideas out there IRL. But as with most magic bullets you quickly&#xA;start to run into their limitations.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Heroku is expensive! 35 USD per dynamo after the free tier, that&amp;rsquo;s a lot of&#xA;money, especially for my developing world budget.&lt;/li&gt;&#xA;&lt;li&gt;They don&amp;rsquo;t support long running, always up processes very well/at all.&#xA;Not everything falls into web/worker dichotomy (web scraping).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;enter-dokku-and-docker&#34;&gt;Enter Dokku and Docker&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://dokku.viewdocs.io/dokku/&#34;&gt;Dokku&lt;/a&gt; is your very own PAAS in 200 lines of&#xA;bash. How on earth can you replicate Heroku with a couple of bash files? Simple,&#xA;by leveraging the awesome power of &lt;a href=&#34;https://docker,com&#34;&gt;Docker&lt;/a&gt; to spin up&#xA;isolated application containers. Dokku simply provides some nice wrapper&#xA;functions around &lt;code&gt;docker&lt;/code&gt; to help you manage your containers as if you were&#xA;deploying them to Heroku (&lt;code&gt;git push&lt;/code&gt; deploy and all!).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
