add deploy.rb script and documentation