-
Notifications
You must be signed in to change notification settings - Fork 1
/
usage.txt
72 lines (37 loc) · 1.39 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Usage
=====
Usage is very simple, by executing a command from the terminal you can initiate `tasks`
If this is the first time you're using this, you might want to start with a :doc:`tuturial <tuturials>` and understand the :doc:`key concepts <key-concepts>`.
Command line execute
--------------------
There are 2 options when executing a `deploy-command` from the command line.
::
$ deploy-commander go run:<task>
The `go` part will ask you for the project and environment you want to use.
The `run` part will execute several actions (`Like git clone, mysql import`) combined. We defined this as `the task`.
You can bypass the prompt for the project and environment by setting them in your command.
::
$ deploy-commander go:<project>,<enviroment> run:<task>
Show config
-----------
Show full config
::
$ deploy-commander go:<project>,<enviroment> show_config
Show available tasks
--------------------
::
$ deploy-commander go:<project>,<enviroment> show_tasks
Show task
---------
Will show the task for a certain project/environment
::
$ deploy-commander go:<project>,<enviroment> show_task:<task>
Run webserver
-------------
The webserver exposes a rest webserver with some extra functionality for post hooks. (bitbucket)
See the config section for possible configurations.
::
$ deploy-commander runserver
Stop any deploy-commander processes
::
$ deploy-commander stopserver