makepost/deploy-ftp

Uploads files and db as archive over FTP

Installs: 15

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: 2024-04-11 06:48:44 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