Drupack: Drupal infrastructure in a single binary

A few years ago I said Drupal needed infrastructure innovation, and I finally took the time to do something about it. While I really like DDEV, I'm really not a fan of having to use Docker for everything so I'm trying to do something about it. 

I released Drupack, a binary that contains everything needed to run Drupal. No need for docker, PHP, apache installed locally. Download the binary, execute it and you have a local Drupal CMS website up and running. There are binaries for Linux, Windows, and MacOS (couldn't test those ones myself but they should work). 

Here are the commands for Linux, they look really similar for windows and macos.

mkdir my-site && cd my-site
curl -L -o drupack https://github.com/tresbientech/drupack/releases/latest/download/drupack-linux-amd64
chmod +x drupack
./drupack

It's made with FrankenPHP to serve the website and embed the PHP application as a standalone binary. The site will be running FrankenPHP and sqlite by default (it can pointed to MySQL as well). Fow now the site installs the Drupal CMS Mercury Demo, in the folder you're running it from.

This is an experiement and is not intended to disrupt anything… yet. FrankenPHP is already serving this website, so I wanted to push it a bit further :) I hope Drupal will end up shipping a webserver and for that webserver to be FrankenPHP. Until then this is just one more low friction way to try Drupal out.

I don't know what'll be next, I'm afraid I'll only stop once I run out of Drupal-based puns…