This project provides a starter kit for Bolt 3 projects hosted on Platform.sh. It is very closely based on the Bolt quick install instructions.
You can start a new Bolt 3 project on Platform.sh in a few simple steps:
-
Clone this repository
-
Select "import your existing code" on the Platform.sh project setup screen
-
Add the Platform.sh git remote
-
Push to Platform.sh
You can also use this repository as a reference for your own Bolt projects, then borrow whatever code is needed. The most important parts are the .platform.app.yaml
and platform_config.php
files.
platform_config.php
is run as a deploy hook and creates a config_local.yml
with the database connection information from your environment.
-
This project template includes Platform.sh configuration files and a short program that creates additional configuration for Bolt.
-
The
extensions
directory will not be writable. The Bolt control panel will issue a warning about this, but it's intentional. Platform.sh is designed to only run code committed to the git repository. It's a key safety feature of the service.