This document contains things which you always should check on specific states of project lifetime.
- use db postgres instead of mysql (--database=postgresql)
- skip test unit (-T)
- skip bundle (--skip-bundle)
- add required gems to the Gemfile
- Set up Vagrantfile
- setup rotate logs
- Make redirect to one domain (on nginx level). Example: http://www.monterail.com => http://monterail.com
- Setup airbrake or getsentry
- Setup process monitor (e.g. monit)
- If using devise, set correct "from" email address
- prepare maintenance screens for server errors and configure http servers / proxies
When maintaining project on staging and/or production
- Use LOW_PRIORITY update for MySQL for long-lasting queries on production