makepost/deploy-ftp

通过FTP上传文件和数据库归档

安装次数: 15

依赖者: 0

建议者: 0

安全性: 0

星星: 0

关注者: 1

分支: 0

类型:项目

1.0.0 2017-11-07 19:30 UTC

This package is not auto-updated.

Last update: 2024-09-26 09:05:41 UTC


README

通过FTP上传文件和数据库归档。

用法

composer global require makepost/deploy-ftp

cd /path/to/your/git/repo

# In Ubuntu terminal, lines starting with space don't go to history.
 export BASE_URI=http://example.com
 export PUBLIC_HTML=ftp://user:pass@ftp.example.com/public_html
 export DB=mysql://user:pass@mysql.example.com/db

# Gets a snapshot you can work on.
deploy-ftp get
deploy-ftp get-db

# Unpacks your local files over remote.
deploy-ftp put
deploy-ftp put-db

许可证

MIT