Installing PHP and Composer is relatively simple, but not entirely obvious for those who haven’t done it before. Here is a good post on installing PHP 7 with Composer on Windows 10.
Once you have completed the steps in the quoted article move on to the next section.
Coaster CMS requires a few tweaks be made to the php.ini file. The GD2, PDO, Zip and MySQLi extensions are required for Coaster to work correctly.
Instead of installing MySQL Server directly onto the host machine, it’s sometimes nice to install this within its own container. This is made possible using Docker. Go ahead and install Docker. If unfamiliar with Docker it can be a bit intimidating at first, but what we aim to do is quite simple. Run the following command from a Powershell or Command Prompt window:
docker run --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret -d mysql:latest
In the above command, we are creating a new MySQL container with the appropriate name “
To access the database, we recommend using a program such as HeidiSQL. From here you can create new databases, edit tables, truncate tables and change the structure of tables. Go ahead and create a new table called “
Now for the fun part, installing Coaster. Now that we have PHP, Composer and MySQL installed we have everything we need to start a new project. Open a new Powershell window and navigate to a directory you wish to install Coaster.
composer create-project web-feet/coastercms
Thankfully, Laravel has a built-in web server for running projects. Type the following command from within the directory you installed Coaster:
php artisan serve
This will create a web server on the port 8080. Open your web browser, type http://localhost:8080/ and hit return.
Finally, enter a username, preferably an email address, and a password.
Based on Laravel 5
Additional features always being planned/researched
Announcing (belatedly) Coaster CMS version 5.5...
So, somewhat belatedly we have launched Coaster CMS version 5.5, which is now based on Laravel v5.5 (LTS) and mostly includes a major "under the hood" update that will make Coaster more stable and als...
Coaster CMS v5.4 is here
So, Coaster CMS v5.4 has arrived and I'm just going to give you an overview of the new features. We think this update will really help people grasp the concepts around Coaster and give you ideas o...
Where is Data Stored in Coaster CMS
We've had a couple of discussions recently with people trying to understand the data structure of Coaster and more specifically, where data is stored in Coaster CMS and I thought I'd summarise some of...