How I Deployed a Go app With a SQLite Database on Fly.io
Recently, I deployed a Go-powered app backed by an SQLite database on Fly.io for the first time. Here's the process that I went through, along with some of the issues that I encountered along the way.
How to Deploy a PHP App to Production With Docker Compose
Want to know how to deploy a PHP app to production (or any other remote environment)? In this tutorial, I'll show you all the steps involved, and provide background information along the way, so you can build on what you’ll learn.
How to Test PHP Apps Running in Docker Containers
Docker and Docker Compose simplify setting up local development environments for developing PHP apps and for deploying them, whether locally or remotely. But, when your PHP app is running inside a Docker container, how do you run your tests — especially test suites that depend on resources such as database or caching servers? In this tutorial, I’ll show you how to do so.
Building a local development environment which mirrors production hasn't, historically, been an easy task. But with Docker, it's become almost trivial. In this tutorial, you'll learn do so by dockerizing a PHP application and deploy it locally with Docker Compose.
Override an Image's Command with Docker Compose
Sometimes, you need to override an image's command when launching a container with Docker Compose. If you need to do that, in this tutorial I'm going to show you how — without the need to update an image's Dockerfile or shell scripts.
Override an Image's Command with Docker Compose
Sometimes, you need to override an image's command when launching a container with Docker Compose. If you need to do that, in this tutorial I'm going to show you how — without the need to update an image's Dockerfile or shell scripts.
Explore an Image Registry With the Registry Explorer
Recently, I wasn't able to pull an image from Docker Hub as there was no matching manifest for my platform in manifest list. In part, thanks to the Registry Explorer, I was able find out why. Here's how I found out about it.
Understanding Go's Empty Interface
Recently, while working with the Twilio Lookup API, I had the opportunity to properly learn about Go's empty interface. During the process, I realised that I didn't understand it properly, so took the opportunity to do so. Today, I am going to step through what it is and how simple they are to work with.
Restrict Allowed Route Methods in Go Web Apps
It's incredibly easy to build web apps and APIs using Go's net/http package. All you really need to do is to specify a route and its handler. But, how do you restrict the methods that routes can accept? In this short tutorial, I'll show you how.
How to Build a RESTful API in Go (Overview)
If you want to build a RESTful API, Go is an excellent language to use. It doesn't have a lot of overhead. It's a small language. It's fast! What's more, it's standard library provides just about everything you need. So, in this series, you're going to learn how to build and deploy a reasonably robust RESTful API step-by-step; one that can encrypt and decrypt text.