Simple Setup for using deployer for TYPO3

Deployerhttps://deployer.org/ is a useful and my favorite tool for deploying php applications. I'm using it to deploy TYPO3 and Symfony sites. It comes with a lot of recipies for spefic frameworks which actually never fit my requirements or sometimes even don't work.

1. Install deployer with ddev

First we need to install deployer. I recommend using the composer installation inside our ddev environment. To do so excute the follwing command.

ddev composer require --dev deployer/deployer

Why not directly installing it or using the command outside the ddev? -> be sure to use the right php version and have the same setup for ervyone

2. Run deployer

You can now run deployer with

ddev vendor/bin/dep init

You t

#!/bin/bash## Description: Run deployer inside the web container in the root of the project## Usage: dep## Example: "dep deploy"## ExecRaw: truephp vendor/bin/dep "$@"