Mattias Petter Johansson

Checklist when deploying Rails

This is some pointers to myself when deploying Rails applications.
  • chmod 777 and chown -R www-data the tmp and log directories
  • chown -R the application directory to www-data
  • Make sure the database.yml has the correct settings
  • Triple check that all migration files are uploaded
  • Run migrations
  • Restart web server