-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Mougrim edited this page Apr 5, 2015
·
1 revision
Deployer need Composer for work. If you do not have Composer yet, you may install it by following the instructions here.
There is two way for install deployer.
You can install Deployer with composer:
composer require mougrim/deployer:~0.2Then to use Deployer you may run the following command:
vendor/bin/mougrim-deployer.phpIf you want build Deployer from source code, clone the project from GitHub:
cd ~/ # For example, install into ~/php-mougrim-deployer
git clone git@github.com:mougrim/php-mougrim-deployer.git # Clone php-mougrim-deployer
cd php-mougrim-deployer
composer.phar install # Resolve dependencies
export PATH=$PATH:~/php-mougrim-deployer/bin # Add bin directory to PATH
echo 'export PATH=$PATH:~/php-mougrim-deployer/bin' >> ~/.bashrc # Add bin directory to PATH permanentlyThen to use Deployer you may run the following command:
mougrim-deployer.php