To-do before handover to client / production environment?

Permalink
Good day! What is your worfkflow when moving a site from dev to production?

I usually follow the steps outlined in "Moving a website" to do the actual move. What I would like to know is how to "clean up" the database and files before doing the move. For example, there are tons of page versions that I don't really want on the production environment.

How do you handle this?

 
ramonleenders replied on at Permalink Best Answer Reply
ramonleenders
You can go to "Automated Tasks" in your dashboard (/dashboard/system/optimization/jobs). There is a task called "Remove Old Page Versions". It will remove all page versions, except the 10 latest new versions.

If you want to do like all but the latest 3/4/5, you can create a task yourself. Just copy this "job" file (/concrete/jobs/remove_old_page_version.php) and turn it into a different named job with the needed changes. Here some documentation about "Creating a Job"

http://documentation.concrete5.org/developers/jobs/creating-a-job...