Ignored By Dinosaurs platform.sh feedplatform.shThe Little Platform.sh Book - Introductionhttps://www.ignoredbydinosaurs.com/posts/310-the-little-platformsh-book-introduction
<p>The internet is hard these days.</p>
<p>It started simply enough - for instance, all you really needed was a Geocities account and some initiative to learn HTML and you could have your own place to put whatever you wanted and make it available to the entire world. From such simple seeds, complex structures did grow..</p>
<p>Geocities was permanently shut down in 2009, at once both a tragedy for the loss of so much content, so much <em>history</em>, and yet also a wake-up call for so many of us that we needed to...</p>Wed, 23 Aug 2017 07:56:31 -0400Setting 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 -0500Speeding up your Platform.sh deploys with Yarnhttps://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 -0500Platform.sh from scratch - Laravel, Redis, and the Platform CLIhttps://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 -0400Platform.sh from Scratch - adding a database to your Laravel apphttps://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 -0400Platform.sh from scratch - setting up a Laravel apphttps://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 -0400Platform.sh from scratch - PostgreSQLhttps://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 -0400Platform.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 -0400Platform.sh from scratch, part 1 - Basic setup.https://www.ignoredbydinosaurs.com/posts/293-platformsh-scratch-part-1-basic-setup
<p>Hello, and welcome back to "Platform.sh from scratch". The goal here will be to augment the <a href="https://docs.platform.sh/">official documentation</a> with a short tutorial that shows how to set up a project for proper functioning on <a href="https://platform.sh/">Platform.sh</a>. We'll dive into the "why" as little as possible here. For now let's dive straight into the "how".</p>
<!--more-->
<p>We're going to start with a very basic application, the <a href="http://silex.sensiolabs.org/">example Silex app on the front page of the Silex website</a>. This will be a standard Composer based project, so we'll need a...</code></p>Mon, 15 Aug 2016 07:37:43 -0400