Skip to content

Instantly share code, notes, and snippets.

View twoism-dev's full-sized avatar

Ben Sales twoism-dev

View GitHub Profile
@twoism-dev
twoism-dev / simple-deploy.md
Created July 20, 2012 11:58
Simplest EC2 deploy

Server manifesto

Provisioning + Deploying is too complicated, lets do the minimum amount of work to build a safe, performant server.

System update

Update apt-get's local database with server's pkglist's files.

apt-get update

Git install

@twoism-dev
twoism-dev / YARD-grape.rb
Created July 12, 2012 11:08
YARD Example for Grape
require "yard"
module YARD
module Grape
def self.routes
YARD::Handlers::Grape::AbstractRouteHandler.routes
end
def self.error_handlers
curl -d "channel=84" httpadio.com/padData/pad_provider.jsp