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()
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()
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()