docs: def deploy(overwrite=False):
      """
      deploy a versioned project on the host
      """
      check_settings()
      if overwrite:
          rmvirtualenv()
      deploy_funcs = [deploy_project,deploy_templates, deploy_static, deploy_media,  deploy_webconf, deploy_wsgi]
      if not patch_project() or overwrite:
          deploy_funcs = [deploy_db,mkvirtualenv,pip_install_requirements] + deploy_funcs
      for func in deploy_funcs: func()