File tree Expand file tree Collapse file tree 1 file changed +34
-8
lines changed
Expand file tree Collapse file tree 1 file changed +34
-8
lines changed Original file line number Diff line number Diff line change 11# Installation
22
3+ ## Global installation
4+
35To install Deployer, run next command in your project dir:
46
57```
6- composer require --dev deployer/deployer
8+ composer global require deployer/deployer
79```
810
9- To initialize deployer in your project run:
10-
1111```
12- vendor/bin/dep init
12+ phive install deployer
1313```
1414
15- :::tip Bash integration
16- Add next alias to your _ .bashrc_ file:
15+ Run in your project to create ` deploy.php ` file:
1716
18- ``` bash
19- alias dep=' vendor/bin/dep'
2017```
18+ dep init
19+ ```
20+
21+ :::tip Autocomplete
2122
2223Deployer comes with autocomplete support for task names, options, and hosts.
2324
@@ -28,4 +29,29 @@ dep completion bash > /etc/bash_completion.d/deployer
2829```
2930
3031Make sure what your _ .bashrc_ file includes generated file in some way.
32+
3133:::
34+
35+ ## Project installation
36+
37+ To install Deployer in your project, run next command in your project dir:
38+
39+ ```
40+ composer require --dev deployer/deployer
41+ ```
42+
43+ To initialize deployer in your project run:
44+
45+ ```
46+ vendor/bin/dep init
47+ ```
48+
49+ ## Phar download
50+
51+ You can download deployer phar file from [ releases] ( https://github.com/deployphp/deployer/releases ) page.
52+
53+ After downloading, you can run it in your project dir:
54+
55+ ```
56+ php deployer.phar init
57+ ```
You can’t perform that action at this time.
0 commit comments