small medium large xlarge



Activity 1

If we have multiple developers collaborating on development, we might feel uncomfortable putting the details of the configuration of our database (potentially including passwords!) into our configuration management system. To address this, copy the completed database.yml into the shared directory, and write a task instructing Capistrano to copy this file into your current directory each time you deploy.

Hint: after deploy:update_code would be the time to replace the database.yml file.


Activity 2

  • Try replacing rvm with rbenv
  • Try replacing mysql with PostgreSQL
  • Try replacing both Phusion Passenger and Apache httpd with Unicorn

Hint: remember to check config/database.yml and config/deploy.rb.


Page History
  • V4: Sam Ruby [over 2 years ago]
  • V3: Sam Ruby [about 4 years ago]
  • V2: Andrew de Andrade [about 5 years ago]
  • V1: Andrew de Andrade [about 5 years ago]