deployer/docs/recipe/pimcore.md
Anton Medvedev 86c7ed6260 Update docs
2022-07-26 00:19:14 +02:00

1.8 KiB

How to Deploy Pimcore

Source

How to deploy a Pimcore project with zero downtime?

  • First, install the Deployer.
  • Second, require recipe/pimcore.php recipe into your deploy.php or deploy.yaml file.
  • Third, and now you can have a zero downtime deployment!

Did you know that you can deploy Pimcore project with a single command? Just execute dep deploy. Something went wrong? Just run dep rollback to rollback your changes. Also, you can take an advantage of the Deployer's CLI to deploy your project.

Another feature of the Deployer is provisioning. Take any server, and run dep provision command. This command will configure webserver, databases, php, https, and more. You will get everything you need to run your Pimcore project.

The pimcore recipe is based on the symfony recipe.

Tasks

pimcore:rebuild-classes

Source

Rebuilds Pimcore Classes.

pimcore:custom-layouts-rebuild

Source

Creates Custom Layouts.

pimcore:cache_clear

Source

Removes cache.

pimcore:deploy

Source

This task is group task which contains next tasks: