mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
592 B
Executable File
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. :::