Skip to content

Monthly Archives: February 2014

OAuth: A Quick Breakdown

The OAuth specification is a protocol for allowing client applications to behave on your site as representatives of the users who have access to resources on your site. If your site is an “OAuth provider,” it means that it will follow this protocol to grant (usually, temporary) access to automated clients to perform certain actions that users usually perform via browsers after going through a login (aka, authentication) process.

There are numerous tutorials on the web that discuss what it means to be an OAuth provider, and how OAuth clients can request access to a website, and use the OAuth credentials made available to them. This tutorial attempts to distil this knowledge further into the basics you need to understand to get going with using a particular implementation of OAuth, to wit, the Ruby and Rails libraries (gems) for OAuth.

Read More →

LAMP Adventure: Phusion Passenger From Soup to Nuts on Ubuntu

I am conducting a workshop on how to deploy Ruby on Rails apps on a (Ubuntu) virtual private computer (VPC.) We’ll be using AWS Free Tier instances (t1.micro) to do this. When you have a freshly initialized AWS Ubuntu instance, you have to install more than just the Apache server basics to get through the full installation. This post lists all the necessary steps.

Read More →

How To: Setting Up A Free Tier Micro Instance On AWS

If you need a “cloud server” or “virtual private server,” (VPS,) you can create a free AWS account at AWS Free Usage Tier and launch an EC2 Micro instance for free for 1 year. Note though that you have to supply a credit card, which will be charged $1 for verification purposes, and will be automatically charged after your year is up, so keep an eye on that account!

This description assumes you are comfortable with using a “shell” – like Putty, Windows Command Prompt, Terminal or iTerm2 – on your laptop.

Read More →