Example #1
0
def uninstall():
    """
    Perform a complete removal of Mayan EDMS from a host
    """
    platform.delete_mayan()
    webserver.remove_site()
    webserver.restart()

    if env.drop_database:
        database.drop_database()
        database.drop_username()
Example #2
0
def uninstall():
    """
    Perform a complete removal of Mayan EDMS from a host
    """
    platform.delete_mayan()
    webserver.remove_site()
    webserver.restart()

    if env.drop_database:
        database.drop_database()
        database.drop_user()
Example #3
0
def install():
    """
    Perform a complete install of Mayan EDMS on a host
    """
    platform.install_dependencies()
    platform.install_mayan()
    platform.install_database_manager()
    database.create_database()
    django.database_config()
    django.syncdb()
    django.collectstatic()
    platform.fix_permissions()
    platform.install_webserver()
    webserver.install_site()
    webserver.restart()
    platform.post_install()
Example #4
0
def install():
    """
    Perform a complete install of Mayan EDMS on a host
    """
    platform.install_dependencies()
    platform.install_mayan()
    platform.install_database_manager()
    database.create_database()
    django.database_config()
    django.syncdb()
    django.collectstatic()
    platform.fix_permissions()
    platform.install_webserver()
    webserver.install_site()
    webserver.restart()
    platform.post_install()