def update(): """Update the client packages.""" config = plone_config() folder = config.get('client', {}).get('dir') client_ctl(command='stop') utils.backup_dev_packages(config=config, folder=folder) utils.run_buildout(config=config, folder=folder) client_ctl(command='start')
def upload_blob(): """Upload blob part of Zope's data to the server.""" zodb_ctl('stop') zodb.upload_blob(plone_config()) zodb_ctl('start')
def upload_data(): """Upload the database files to the server.""" zodb_ctl('stop') zodb.upload_data(plone_config()) zodb_ctl('start')
def download_blobs(): """Download blob part of Zope's data from the server.""" zodb.download_blobs(plone_config())
def download_zodb(): """Download ZODB part of Zope's data from the server.""" zodb.download_zodb(plone_config())
def download_data(): """Download the database files from the server.""" zodb.download_data(plone_config())
def rebuild(): """Rebuild the application using buildout.""" config = plone_config() folder = config.get('client', {}).get('dir') utils.run_buildout(config=config, folder=folder) client_ctl(command='restart')