adduser deploy
ssh-copy-id -i ~/.ssh/deploy.pub [email protected]
aptitude install git
| namespace :deploy do | |
| namespace :assets do | |
| desc 'Run the precompile task locally and rsync with shared' | |
| task :precompile, :roles => :web, :except => { :no_release => true } do | |
| %x{bundle exec rake assets:precompile} | |
| %x{rsync --recursive --times --rsh=ssh --compress --human-readable --progress public/assets #{user}@#{location}:#{shared_path}} | |
| %x{bundle exec rake assets:clean} | |
| end | |
| end | |
| task :start do ; end |
| https://github.com/tadast/sublime-rails-snippets | |
| https://github.com/elomarns/auto-encoding-for-ruby | |
| https://github.com/CraigWilliams/BeautifyRuby | |
| https://github.com/luqman/SublimeText2RailsRelatedFiles | |
| https://github.com/kuroir/SCSS.tmbundle | |
| https://github.com/phuibonhoa/handcrafted-haml-textmate-bundle | |
| https://github.com/pavelpachkovskij/sublime-html-to-haml | |
| http://xavura.github.com/CoffeeScript-Sublime-Plugin/ |
adduser deploy
ssh-copy-id -i ~/.ssh/deploy.pub [email protected]
aptitude install git
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |