Rake Tasks

rake cache:clear # Clears all cached pages rake db:bootstrap # Loads a schema.rb file into the database and then loads the initial database fixtures. rake db:bootstrap:copy_default_theme # Copy default theme to site theme rake db:bootstrap:load # Load initial database fixtures (in db/bootstrap/*.yml) into the current environment’s database. Load specific fixtures using FIXTURES=x,y rake db:fixtures:load # […]

Read more "Rake Tasks"

Log rotation in Linux

This thing bugged me a lot. In general all applications create logs and depending on how much information is passed on to the log file, log file might end up taking gigs of space (as it happened in my case). So I searched for a solution and got one. It is ‘logrotate’. Using logrotate on […]

Read more "Log rotation in Linux"