deployer/docs/installation.md
2022-03-18 23:49:29 +01:00

592 B
Executable File

Installation

To install Deployer, run next command in your project dir:

composer require --dev deployer/deployer

To initialize deployer in you project run:

vendor/bin/deployer.phar init

:::tip Bash integration Add next alias to your .bashrc file:

alias dep='vendor/bin/deployer.phar'

Deployer comes with autocomplete support for task names, options, and hosts.

Run the next command to add bash completion support:

dep completion bash > /etc/bash_completion.d/deployer

Make sure what your .bashrc file includes generated file in some way. :::