Quantcast
Channel: php – Bram.us
Viewing all articles
Browse latest Browse all 166

PHPloy – Git FTP Deployment

$
0
0
; This is a sample deploy.ini file.
; You can specify as many servers as you need
; and use whichever configuration way you like.

[staging]
user = example
pass = password
host = staging-example.com
path = /path/to/installation
port = 21
passive = true

[production]
user = example
pass = password
host = production-example.com
path = /path/to/installation
port = 21
passive = true

; If that seemed too long for you, you can use quickmode instead:
[quickmode]
    staging = ftp://example:password@staging-example.com:21/path/to/installation
    production = ftp://example:password@production-example.com:21/path/to/installation

PHPloy is a little PHP script that allows you to deploy files through FTP to a server. It makes use of Git to know which files it should upload and which one it should delete. PHPloy supports deployments of submodules and sub-submodules.

Comparable to the aforementioned git-ftp.py, yet written in PHP. PHPloy also supports rollbacks and multiple servers.

PHPloy →


Viewing all articles
Browse latest Browse all 166