makepost/deploy-ftp

Uploads files and db as archive over FTP

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:project

1.0.0 2017-11-07 19:30 UTC

This package is not auto-updated.

Last update: 2021-11-24 20:04:11 UTC


README

Uploads files and db as archive over FTP.

Usage

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

License

MIT