Installing Coaster CMS on Windows

Happy New Year! Recently, we’ve noticed quite a few issues crop up on Github citing installation problems when trying to configure Coaster CMS on Windows. This mostly affects cURL when running various Composer commands. Here are a few steps you can take which will help prevent any potential issues:

  • Temporarily disable the Windows Firewall whilst running Composer commands.
  • Install a .pem certificate (more on this below).
  • Use a virtualised solution such as Docker or Laravel Homestead.

For some reason or another the Windows Firewall can sometimes interfere with outgoing connections made by cURL. Momentarily disabling the firewall can often help when running Composer commands – just remember to re-enable it once you’re done.

Using Docker with Coaster CMS

Docker with Coaster CMS

When it comes to running a virtualised development environment there are two highly debated options – Vagrant or Docker. Both of these have their pros and cons and for all intents and purposes, Laravel Homestead is still a great option for developing a Coaster project locally. However, for those who would rather use Docker we have come up with a solution.

Create a form-builder with Coaster CMS repeater blocks

One of the things that a lot of websites need is the ability to build their own forms. Now, Coaster doesn’t come with this installed as default (or as a plugin) but in the back of my mind, I’ve wondered if it was a possibility using the repeater block functionality. And. It is (if you are not a developer, you may want to get hold of one for this bit).

It’s actually pretty easy. Working on the Coaster2016 theme on a fresh install (change the theme folder below as fits your current build), I created the following form.