Monthly archives: April, 2009

Encrypting Files with openssl

Here is how to encrypt and decrypt files using public-key encryption and openssl. I prefer this over GPG because openssl is installed everywhere (including OS X by default) and it requires no specialized subsystem (keyrings, etc.). Just two key files and the document to be encrypted.

How I Set Up a New Web App

Create the directory, and run git init Add the repository to gitosis, add users, add webadmin with readonly access Initialize the Rails project, with rails . Initialize Capistrano, with capify . Add the .gitignore file Rename config/database.yml to config/database.[USER].yml, and softlink database.yml to that file, modifying it as necessary Modify the file config/deploy.rb; see other …