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 1
1
# Installation
2
2
3
+ ## Global installation
4
+
3
5
To install Deployer, run next command in your project dir:
4
6
5
7
```
6
- composer require --dev deployer/deployer
8
+ composer global require deployer/deployer
7
9
```
8
10
9
- To initialize deployer in your project run:
10
-
11
11
```
12
- vendor/bin/dep init
12
+ phive install deployer
13
13
```
14
14
15
- :::tip Bash integration
16
- Add next alias to your _ .bashrc_ file:
15
+ Run in your project to create ` deploy.php ` file:
17
16
18
- ``` bash
19
- alias dep=' vendor/bin/dep'
20
17
```
18
+ dep init
19
+ ```
20
+
21
+ :::tip Autocomplete
21
22
22
23
Deployer comes with autocomplete support for task names, options, and hosts.
23
24
@@ -28,4 +29,29 @@ dep completion bash > /etc/bash_completion.d/deployer
28
29
```
29
30
30
31
Make sure what your _ .bashrc_ file includes generated file in some way.
32
+
31
33
:::
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