tldr/pages/common/dep.md

34 lines
628 B
Markdown
Raw Normal View History

2017-12-13 16:18:16 +00:00
# dep
> Deploy PHP applications.
> Note: The Go command `dep` with the same name is deprecated and archived.
> More information: <https://deployer.org>.
2017-12-13 16:18:16 +00:00
- Interactively initialize deployer in the local path (use a framework template with `--template=template`):
2017-12-13 16:18:16 +00:00
`dep init`
- Deploy an application to a remote host:
2017-12-13 16:18:16 +00:00
`dep deploy {{hostname}}`
2017-12-13 16:18:16 +00:00
- Rollback to the previous working release:
2017-12-13 16:18:16 +00:00
`dep rollback`
2017-12-13 16:18:16 +00:00
- Connect to a remote host via ssh:
2017-12-13 16:18:16 +00:00
`dep ssh {{hostname}}`
2017-12-13 16:18:16 +00:00
- List commands:
2017-12-13 16:18:16 +00:00
`dep list`
- Run any arbitrary command on the remote hosts:
`dep run "{{command}}"`
- Display help for a command:
`dep help {{command}}`