How to manage preproduction to production environment?

I would like to know what’s the best way to manage a production installation of ERPNEXT.

I installed on a local VM an environment (preproduction) where I do the configuration of my ERPNEXT site.
When all the parameters and website design are ready, I want to update the production environment on a VPS with all I have done in preproduction.

What’s the best way to update the VPS in production?