Skip to content

Instantly share code, notes, and snippets.

Mariano Cavallo mcavallo

Block or report user

Report or block mcavallo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mcavallo
mcavallo / rails_do_nginx_unicorn_mysql.md
Last active Aug 29, 2015 — forked from ChuckJHardy/digital_ocean_setup.md
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + RVM + Nginx + Unicorn + MySQL + Capistrano 3
View rails_do_nginx_unicorn_mysql.md

WIP!!


Ubuntu 14.04 x64 (DigitalOcean) + Rails 4 + RVM + Nginx + Unicorn + MySQL + Capistrano 3

Create a Droplet

SSH into Root

$ ssh root@123.123.123.123
View course.rb
class Course < ActiveRecord::Base
def image_or_default
image.empty? ? 'default.jpg' : image
end
end
@mcavallo
mcavallo / digitalocean.md
Created Aug 8, 2013 — forked from JamesDullaghan/digitalocean.md
Deploy Rails app to digitalocean with nginx, unicorn, capistrano & postgres
View digitalocean.md

Deploy Rails app to digitalocean with nginx, unicorn, capistrano & postgres

Create droplet of your liking (ubuntu 12.10 x32)

ssh to root in terminal with your server ip

ssh root@123.123.123.123

Add ssh fingerprint and enter password provided in email

You can’t perform that action at this time.