Install pg gem.
Set up a database.
Use haml instead of erb.