Skip to content

A Capistrano Deploy written to move FTP files from a folder to a remote server.

Notifications You must be signed in to change notification settings

acheloos-m/FTPUploader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

##Capistrano FTP File Uploader

####Summary

This deploy script FTP's a folder using Capistrano and lftp to a remote server. Some of my past clients didn't have a nice system for releasing files, and I got tired of manually pushing files to a remote server. This script (optionally) runs the closure compiler on Javascript, and uses rsync to copy only the changed files to the remote host.

####Commands

  • cap deploy - Sync and compile to remote by default
  • cap deploy:assets:compile - Compile assets for deployment
  • cap deploy:remote - Sync app to remote server
  • cap deploy:remote:sync - Sync to remote server using lftp

####Requirements

  • Capistrano (gem install capistrano)
  • latest version of Homebrew (brew update)
  • lftp (brew install lftp)
  • closure-compiler (brew install closure-compiler)

About

A Capistrano Deploy written to move FTP files from a folder to a remote server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%