Ignored By Dinosaurs main feed SSIA, doesn't it? So that was fun. https://www.ignoredbydinosaurs.com/posts/308-so-that-was-fun <p>I just switched this blog over to a Silex application for a few weeks, but I never got around to adding in the functionality to add new tickets, and add new tags, and link the two together, and all that other stuff that a framework like Laravel just gives you.</p> <p>So we're back.</p> Wed, 05 Apr 2017 06:38:51 -0400 Setting up SSL on your Platform.sh site with Cloudflare. https://www.ignoredbydinosaurs.com/posts/307-setting-up-ssl-on-your-platformsh-site-with-cloudflare <h2>Problemspace</h2> <p>You've got a new site on <a href="https://platform.sh/">Platform.sh</a> that is basically at the end of its development stage, and you're <a href="https://docs.platform.sh/development/going-live.html">preparing to go live</a>. You've decided on <a href="https://www.cloudflare.com/">Cloudflare</a> to host your DNS. Cloudflare is a good choice for smaller sites, and I recommend it often. Is has a few things going for it -</p> <ul> <li>It has a free tier, which gives you pretty much everything you really need for a personal or small business site.</li> <li>it has a very robust and modern global network.</li> </ul> <p>One of the main features that a...</p> Wed, 30 Nov 2016 09:02:55 -0500 Untitled https://www.ignoredbydinosaurs.com/posts/306-untitled <p>I was just remembering <a href="https://www.ignoredbydinosaurs.com/posts/12-twitter-and-hope">this post</a> from back in the early days of this blog. Social media was being used to shine a bright light on oppression and old, repressive regimes were falling.</p> <p>Fast forward to now, the end of 2016. Social media is being used to organize vastly more repressive regimes, and the ease with which anyone can now spread convincing lies makes it almost impossible to tell what's true anymore.</p> <p><em>Traditional journalism has never been more important than it is now.</em></p> Tue, 22 Nov 2016 07:09:25 -0500 Speeding up your Platform.sh deploys with Yarn https://www.ignoredbydinosaurs.com/posts/305-speeding-up-your-platformsh-deploys-with-yarn <h2>Problemspace</h2> <p>You have a decent sized project and your deployments are taking a while. Platform.sh rebuilds your entire application from scratch with each git push so in some cases the process of downloading all those 3rd party packages can take quite a while. We can and do manage local caches of some composer packages due to our PHP heritage, which helps to make <code>composer install</code> a pretty snappy affair, but it's simply not possible to effectively do this with Nodejs.</p> <p>Compounding this...</p> Thu, 10 Nov 2016 17:06:13 -0500 Easy Markdown with Syntax Highlighting, PHP Edition https://www.ignoredbydinosaurs.com/posts/300-easy-markdown-with-syntax-highlighting-php-edition <h3>Easy Markdown with Syntax Highlighting, PHP Edition</h3> <p>Hi there, and welcome back to this 14th installment of "I rewrote my blog in another framework that I'm interested in learning, this time in Laravel". The trick that we'll be exploring today is that, in contrast to Python (the last version was in Django), PHP's lib story is a bit more sparse for this exact use case. However, I'm completely pleased with the outcome, so let's get busy!</p> <h2>PHP Markdown</h2> <p>Google that term and you'll find this -...</p> Tue, 08 Nov 2016 12:00:50 -0500 Platform.sh from scratch - Laravel, Redis, and the Platform CLI https://www.ignoredbydinosaurs.com/posts/299-laravel-redis-platformsh-cli <p>Hello, and welcome back to Platform.sh from scratch. In this post we'll be reconfiguring your Laravel app that we've been working on in the previous posts to use Redis as a cache and session store, rather than the default file store. We'll also install the Platform CLI and use it to SSH into our application container and get a feel for the layout of the filesystem after it's deployed to its environment.</p> <p>But first, I'd like to have a brief chat about Git...</p> <!--more--> <hr /> <h3>Using the tools the way...</h3> Tue, 18 Oct 2016 16:16:17 -0400 Platform.sh from Scratch - adding a database to your Laravel app https://www.ignoredbydinosaurs.com/posts/298-platformsh-laravel-database-config <p>Hello (!) and welcome back to Platform.sh from scratch. In this post we'll learn about how to set up the Laravel app from the previous post to hook in to various services on Platform, starting with a database connection and moving on to using Redis as a cache and session store. Along the way we'll visit Platform.sh's "environment variables" feature, and we'll set up our first fully functioning deploy hook.</p> <blockquote> <p>Prerequisites - go through the previous post and get that far...</p> </blockquote> <p>Let's get...</p> Thu, 13 Oct 2016 15:46:50 -0400 Platform.sh from scratch - setting up a Laravel app https://www.ignoredbydinosaurs.com/posts/297-platform-sh-laravel-setup <p>Hi there and welcome back to Platform.sh from scratch. In this post we'll convert a Laravel app for use on Platform and learn a few tricks that will hopefully inform converting <em>any</em> app for use on Platform.</p> <hr /> <p>Step 1 is to get going with a new Laravel app, so follow the instructions on <a href="https://laravel.com/docs/5.3/installation#installing-laravel">installing Laravel</a> and setting up a new project. Initialize a git repo, add a new platform, and add the Platform.sh git remote to your local repo. All of this is documented in the <a href="https://www.ignoredbydinosaurs.com/posts/293-platformsh-scratch-part-1-basic-setup/">previous post</a>.</p> <p>Now, at...</p> Mon, 19 Sep 2016 15:06:15 -0400 Platform.sh from scratch - PostgreSQL https://www.ignoredbydinosaurs.com/posts/296-postgres-on-platform <p>Hi there and welcome back to Platform from scratch. Today we're going to take a very simple Laravel application that will make use of Postgres on the backend as a database.</p> <p>The complete example application can be found here - https://github.com/JGrubb/platformsh-laravel-example</p> <p>The very first step of this will be to add in the appropriate <code>.platform/services.yaml</code> file. This file was left intentionally empty in the setup for this Laravel application, as we didn't have a need for a working...</p> Tue, 23 Aug 2016 15:58:36 -0400 Platform.sh from scratch, part 0 - explaining Platform as simply as possible. https://www.ignoredbydinosaurs.com/posts/294-platform-scratch-part-0 <p>Hello, and welcome to "Platform.sh from Scratch". In this prologue to the series, I'll go over some of the very highest level concepts of Platform.sh so that you'll have a clearer understanding of what this product is and why it came to be.</p> <p>Platform.sh is a "Platform as a Service", commonly referred to in this age of acronyms as a "PaaS". The platform that we provide is essentially a suite of development and hosting tools to make developing software applications a smoother end-to-end...</p> Wed, 17 Aug 2016 09:03:19 -0400