- Issue created by @phenaproxima
- πΊπΈUnited States phenaproxima Massachusetts
Well, that worked a treat. Here's how to test.
If you download and unzip the drupal-cms.zip archive created by the "build project" CI job (https://git.drupalcode.org/project/drupal_cms/-/jobs/2846314), you'll see a "Launch Drupal CMS.command" file. Double-click that -- I've only tested on macOS -- and it should open a terminal session that downloads FrankenPHP and kicks you into the installer.
The caveats are that, for now, the first couple of times will be rocky because the downloaded files will be quarantined by the system, so you'll need to go into the system preferences to allow them to run. Maddening.
But once you've done that, it works great. There's probably a way to lift a file from quarantine at the command line but I don't yet know what that way would be.
- πΊπΈUnited States phenaproxima Massachusetts
Okay, I'm happy now -- although I've only tested on macOS, this launcher works really well and is friendly.
You do have to take it out of quarantine, but once you do, it only downloads what it needs to download once (FrankenPHP and Composer), and gets everything launched so you can visit the installer -- which works all the way through.
I still need to manually test it on Linux (Ubuntu). If it works as well in Linux as it does on macOS, I think this can be merged. But I'd like someone else to look it over and manually test it as well first.
- πΈπͺSweden johnwebdev
What about Windows which is arguably the hardest to setup Docker in,
- πΊπΈUnited States phenaproxima Massachusetts
Windows is a bit of a tough nut to crack. I'm hoping that this launcher works in WSL with minimal (if any) changes, since according to my cursory research, WSL will run Linux binaries without any recompilation.
Obviously this means we'd need people to enable WSL, but I'm guessing that's not too much more of a lift than asking someone to install Laravel Herd (which also looks pretty nice).
- πΊπΈUnited States phenaproxima Massachusetts
After some discussion with @tim.plunkett and @effulgentsia, I've decided to close this out without merging, leaving it as a proof of concept.
What I've concluded from this adventure is that a non-Docker runtime is necessary for Drupal CMS to be broadly adopted, but trying to roll our own is going to be painful. There are already great solutions out there, so I think we should analyze our choices, adopt one, and go with that.
The discussion continues in π [policy] Adopt an officially supported non-Docker runtime Active .