Skip to content

Instantly share code, notes, and snippets.

View jansowinski's full-sized avatar

Jan Sowinski jansowinski

View GitHub Profile
jansowinski / sync.rb
Last active February 19, 2017 21:16
Simple sinatra solution for syncing github repo with external ftp server
load 'ftp_sync.rb' # use this library ->
require 'sinatra'
# Here you set global ip of your vps
set :bind, ''
# Here you set port
set :port, '80'
# here you set FTP host
host = ''