docs/recipe/silverstripe.md
require 'recipe/silverstripe.php';
Deployer is a free and open source deployment tool written in PHP. It helps you to deploy your Silverstripe application to a server. It is very easy to use and has a lot of features.
Three main features of Deployer are:
Additionally, Deployer has a lot of other features, like:
You can read more about Deployer in Getting Started.
The deploy task of Silverstripe consists of:
The silverstripe recipe is based on the common recipe.
Path to the assets folder.
Defaults to "public/assets" (or "assets" on older installations).
if (test('[ -d {{release_or_current_path}}/public ]') || test('[ -d {{deploy_path}}/shared/public ]')) {
return 'public/assets';
}
return 'assets';
Overrides shared_dirs from recipe/deploy/shared.php.
[
'{{shared_assets}}',
]
Overrides writable_dirs from recipe/deploy/writable.php.
[
'{{shared_assets}}',
]
Path to the sake binary.
Defaults to "vendor/bin/sake", if it exists.
:::info Autogenerated
The value of this configuration is autogenerated on access.
:::
Deprecated option, retained for backward compatibility.
For Silverstripe 6 and above, use silverstripe_sake instead.
:::info Autogenerated
The value of this configuration is autogenerated on access.
:::
Rebuild the database.
Helper tasks
Rebuild database and cache.
Deploys your project.
Main task
This task is group task which contains next tasks: