Michael Dyrynda
Home Blog Podcasts
 
Running Tighten's Jigsaw on Netlify July 28th, 2018

A lot of people have been talking about using Netlify recently, so I thought I'd see what all the fuss is about.

I decided to move my Laravel style guide to Netlify to give it a go, and was pleasantly surprised with how much simpler it is to use than what GitHub Pages is, which I was using previously.

Netlify hooks into your git provider of choice - GitHub, GitLab, and Bitbucket at the time of writing - watch a specific branch, then run a command whenever a commit is pushed to that branch. Continuous deployment and delivery of your static site.

With GitHub pages, I always found myself messing up the gh-pages branch, particularly as I was often pushing changes from more than one machine. I haven't seen any of these issues so far, and the entire build process is managed by Netlify.

It detects your package.json and composer.lock files, and installs your dependencies automatically and even caches them so your subsequent builds are lightning fast. The only downside, is that Netlify uses PHP 5.6 by default, but this is easily configured.

How simple is the whole process? I set a ten minute time limit on myself to get from 0 lines of code, to deploying a TLS-enabled, CDN-hosted site on Netlify. Watch the whole thing in realtime below - including running NPM and Composer installs.

I'm a real developer ™
Michael Dyrynda

@michaeldyrynda

I am a software developer specialising in PHP and the Laravel Framework, and a freelancer, blogger, and podcaster by night.

Proudly hosted with Vultr

Syntax highlighting by Torchlight