Drupal is a CMS. One might even say that Drupal is a good CMS and they would be right about that, in my not-so-humble opinion. At its core, Drupal is able to define content really well. Sure, it needs to do better at making the content editor’s experience pleasant, apart from other things. But defining content structures that are malleable to multiple surfaces has always been Drupal’s strengths. This makes Drupal an excellent choice for building a Digital Experience Platform (DXP).
I have been setting up computers and configuring web servers for a long time now. I started off my computing journey by building computers and setting up operating systems for others. Soon, I started configuring servers first using shared hosting and then dedicated servers. As virtualization became mainstream, I started configuring cloud instances to run websites. At a certain point, I was maintaining several projects (some seasonal), it became harder to remember how exactly I had configured a particular server when I needed to upgrade or set it up again. That is why I have been interested in Infrastructure as Code (IaC) for a long time.
Here’s a quick post to show how we can run Drupal in a CI environment easily so that we can test the site. Regardless of how you choose to run the tests (e.g. PHPUnit, Behat, etc), you still need to run the site somewhere. It is not a great idea to test on an actual environment (unless it is isolated and designated for testing). You need to set up a temporary environment just for the CI pipeline where you run the tests and then tear it down.
I can’t remember the last time I went to a meetup using public transportation. The reasons this became possible is location. The location of today’s Docker meetup is reachable using a direct bus from my home, which is a very very rare thing to happen to me. Even though I traveled by bus through one of the Bangalore’s busiest streets, I reached only 10 minutes late, which is good considering that I only realized very late that this meetup began at 9:30 AM!
The meetup started with DigitalOcean’s India representative introducing us to the company and their plans for India. They gave out stickers and T-Shirts and spoke about how DigitalOcean is opening a data center in Bangalore.