Пример #1
0
def portal_check():
    """
    Check missing packages for portal.buildout
    """

    tasks = bungeni.PortalTasks()
    __check(tasks)
Пример #2
0
def portal_setup():
    """
    Checkout and bootstrap portal source
    """

    tasks = bungeni.PortalTasks()
    tasks.setup()
Пример #3
0
def portal_build_opt():
    """
    Build the portal with (-N)
    """

    tasks = bungeni.PortalTasks()
    tasks.build_opt()
Пример #4
0
def portal_bootstrap():
    """
    Bootstrap the installation
    """

    tasks = bungeni.PortalTasks()
    tasks.bootstrap_instance()
Пример #5
0
def portal_build():
    """
    Build the portal
    """

    tasks = bungeni.PortalTasks()
    tasks.build()
Пример #6
0
def portal_local_config():
    """
    Generate a local buildout configuration.
    This is relevant only if you are using a local cache
    """

    tasks = bungeni.PortalTasks()
    tasks.local_config()
Пример #7
0
def portal_install():
    """
    Setup and builds the portal
    """

    tasks = bungeni.PortalTasks()
    tasks.setup()
    tasks.local_config()
    tasks.build()
    enable_country_theme()
Пример #8
0
def portal_install():
    """
    Setup and builds the portal
    Revision used is based on the 'release' parameter in setup.ini
    """

    tasks = bungeni.PortalTasks()
    tasks.setup()
    tasks.local_config()
    tasks.build()
    enable_demo_theme()
Пример #9
0
def config_ini(which_ini):
    """
    Config deployment ini files : bungeni, plone, portal
    """

    tasks = None
    if which_ini == "bungeni":
        tasks = bungeni.BungeniTasks()
    elif which_ini == "plone":
        tasks = bungeni.PloneTasks()
    elif which_ini == "portal":
        tasks = bungeni.PortalTasks()
    else:
        abort("Nothing to do!option must be one of: bungeni, plone or portal")
        return
    tasks.deploy_ini()
    tasks.update_deployini()
Пример #10
0
def portal_update():
    """
    Update the portal
    """
    tasks = bungeni.PortalTasks()
    tasks.update()
Пример #11
0
def portal_update(version="default"):
    """
    Update the portal
    """
    tasks = bungeni.PortalTasks()
    tasks.update(version)