<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Development on Mike Bell - Blog &amp; Stuff</title><link>https://mikebell.io/tags/development/</link><description>Recent content in Development on Mike Bell - Blog &amp; Stuff</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>hello@mikebell.io (Mike Bell)</managingEditor><webMaster>hello@mikebell.io (Mike Bell)</webMaster><copyright>© 2026 Mike Bell</copyright><lastBuildDate>Sun, 07 Jun 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://mikebell.io/tags/development/index.xml" rel="self" type="application/rss+xml"/><item><title>Upgrade to Gatsby and AWS</title><link>https://mikebell.io/posts/upgrade-to-gatsby-and-aws/</link><pubDate>Sun, 07 Jun 2020 00:00:00 +0000</pubDate><author>hello@mikebell.io (Mike Bell)</author><guid>https://mikebell.io/posts/upgrade-to-gatsby-and-aws/</guid><description>
&lt;p>It&amp;rsquo;s been over a year since I last blogged, there are a number of reasons:&lt;/p>
&lt;ul>
&lt;li>Broken realease pipeline (well not quite but it was messy)&lt;/li>
&lt;li>I wanted to move everything to docker&lt;/li>
&lt;li>I hated the way the blog looked&lt;/li>
&lt;/ul>
&lt;p>A few weeks ago I started to the move to GatsbyJS after a few false starts I finally got there. Once I had everything migrated including updating all the frontmatter (this took ages), I was ready to deploy it. I have multiple server on DigitalOcean all capable of hosting a static blog but decided that I wanted to offload everything to AWS to learn more about the tools available.&lt;/p>
&lt;h2 class="relative group">The CD pipeline
&lt;div id="the-cd-pipeline" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#the-cd-pipeline" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>Since mine was in a bit a state (Vault doesn&amp;rsquo;t auto unseal), I wanted to play around with other tools outside of Concourse.&lt;/p>
&lt;p>Firstly I started with AWS Codebuild, it&amp;rsquo;s a bit odd when you&amp;rsquo;re used to Concourse but there&amp;rsquo;s enough documentation out there to figure it all out. One of the blockers I found was that when running &lt;code>npm build&lt;/code> it wouldn&amp;rsquo;t pick up some of the folders. I never did get round to figuring out what the issue was with it so decided to abandon that and try Github Actions.&lt;/p>
&lt;p>With Github Actions it was dead easy to setup and the integrated secrets management was very nice, I really like what they&amp;rsquo;ve done with it and I&amp;rsquo;ll be interested in exploring more of what&amp;rsquo;s on offer there.&lt;/p>
&lt;p>So at the moment the blog automatically builds on every push to the repository. This is the flow:&lt;/p>
&lt;p>&lt;strong>Push&lt;/strong> &amp;gt; &lt;strong>Github Actions Build&lt;/strong> &amp;gt; &lt;strong>Publish to S3&lt;/strong> &amp;gt; &lt;strong>Invalidate Cloudfront&lt;/strong>&lt;/p>
&lt;p>I really like this workflow as it&amp;rsquo;s about as hands off as possible, this means I can just blog!&lt;/p>
&lt;p>If your interested in the build file it can be found &lt;a
href="https://github.com/mikebell/mikebell.io/blob/master/.github/workflows/main.yml"
target="_blank"
>here&lt;/a>.&lt;/p>
&lt;p>Thanks for reading via RSS!&lt;/p>
&lt;p>Send me a message on &lt;a href="https://remotelab.uk/mikebell">Mastodon&lt;/a> or &lt;a href="mailto:hello@mikebell.io">email me&lt;/a>&lt;/p></description></item><item><title>Windows 10 isn't that bad to develop with</title><link>https://mikebell.io/posts/developing-in-windows-10/</link><pubDate>Wed, 13 Feb 2019 00:00:00 +0000</pubDate><author>hello@mikebell.io (Mike Bell)</author><guid>https://mikebell.io/posts/developing-in-windows-10/</guid><description>
&lt;p>After upgrading to Windows 10 finally I figured I&amp;rsquo;d check out what it&amp;rsquo;s like developing on Windows 10 and to be honest it isn&amp;rsquo;t that bad.&lt;/p>
&lt;h2 class="relative group">Windows Subsystem Linux
&lt;div id="windows-subsystem-linux" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#windows-subsystem-linux" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>I installed the Ubuntu image and switch shell to ZSH. After importing all my dotfiles and setup from my Linux machine this works really well. A quick symlink form &lt;code>~/Projects&lt;/code> to &lt;code>/mnt/c/Users/digital/Projects&lt;/code> makes it really easy to open it up and then start working on a project. Even though I have git installed I still use it in the Ubuntu image, oh-my-zsh autocompletions are hard wired in my brain now and very hard to give up.&lt;/p>
&lt;h2 class="relative group">Docker CE for Windows
&lt;div id="docker-ce-for-windows" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#docker-ce-for-windows" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>This installed and worked fine straight off the bat. I run Powershell to interact with &lt;code>docker&lt;/code> and &lt;code>docker compose&lt;/code>. I&amp;rsquo;ve seen a few StackOverflow posts about running this directly inside Ubuntu WSL but haven&amp;rsquo;t gotten around to setting that up. Will be interesting to see how things work as I start introducing more complex network structures.&lt;/p>
&lt;h2 class="relative group">Visual Studio Code
&lt;div id="visual-studio-code" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#visual-studio-code" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>I really like this editor, it seems quite light and has a load of really good plugins that support my ever shifting development needs.&lt;/p>
&lt;p>So there it is developing in Windows 10 isn&amp;rsquo;t actually so bad after all.&lt;/p>
&lt;p>(You&amp;rsquo;ll still have to prise my KDE Plasma out of my cold dead hands though.)&lt;/p>
&lt;p>Thanks for reading via RSS!&lt;/p>
&lt;p>Send me a message on &lt;a href="https://remotelab.uk/mikebell">Mastodon&lt;/a> or &lt;a href="mailto:hello@mikebell.io">email me&lt;/a>&lt;/p></description></item><item><title>Vagrant Boxes for Drupal Development</title><link>https://mikebell.io/posts/vagrant-boxes-for-drupal-development/</link><pubDate>Sat, 10 Aug 2013 00:00:00 +0000</pubDate><author>hello@mikebell.io (Mike Bell)</author><guid>https://mikebell.io/posts/vagrant-boxes-for-drupal-development/</guid><description>
&lt;p>During my time off I figured I&amp;rsquo;d get my dev environment setup for when I start at CTI.&lt;/p>
&lt;p>Using the really great &lt;a
href="https://puphpet.com/"
target="_blank"
>puphpet.com&lt;/a> I&amp;rsquo;ve created two new vagrant configs, the first is for Apache the second is for Nginx.&lt;/p>
&lt;h2 class="relative group">The Changes
&lt;div id="the-changes" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#the-changes" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>Removed xhprof and dot file support&lt;/li>
&lt;li>Added an easier way to provision new vhosts and dbs.&lt;/li>
&lt;li>Added drush&lt;/li>
&lt;/ul>
&lt;h2 class="relative group">Internals
&lt;div id="internals" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#internals" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>Ubuntu 12.04&lt;/li>
&lt;li>PHP 5.3&lt;/li>
&lt;/ul>
&lt;h2 class="relative group">Usage
&lt;div id="usage" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#usage" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-shell" data-lang="shell">&lt;span class="line">&lt;span class="cl">git clone git@github.com:digital006/drupaldev-nginx.git
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">mkdir sites
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">vagrant up
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;h2 class="relative group">Links
&lt;div id="links" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#links" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>&lt;a
href="https://github.com/digital006/drupaldev-nginx"
target="_blank"
>https://github.com/digital006/drupaldev-nginx&lt;/a>&lt;/p>
&lt;p>&lt;a
href="https://github.com/digital006/drupaldev"
target="_blank"
>https://github.com/digital006/drupaldev&lt;/a>&lt;/p>
&lt;p>Hope these are useful to others.&lt;/p>
&lt;p>Thanks for reading via RSS!&lt;/p>
&lt;p>Send me a message on &lt;a href="https://remotelab.uk/mikebell">Mastodon&lt;/a> or &lt;a href="mailto:hello@mikebell.io">email me&lt;/a>&lt;/p></description></item></channel></rss>