What is the best and most comprehensive way of migrating all metadata, apex code, visualforce pages, sites, and everything else except records to a production environment from a developer account?
We've been building 'Salesforce 2' in a developer environment completely cut off from the production organization for the last few months and we're almost ready. But what is the best way to migrate EVERYTHING except records?
I've heard we should use the Force.com migration tool but does this copy everything including apex code or just fields and such?
Also please mark this question as a duplicate if it is, the only others I found like this were either only about migrating some parts or the questions had been removed from SFSE.