mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
1.8 KiB
1.8 KiB
How to Deploy Pimcore
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
Rebuilds Pimcore Classes.
pimcore:custom-layouts-rebuild
Creates Custom Layouts.
pimcore:cache_clear
Removes cache.
pimcore:deploy
This task is group task which contains next tasks: