install_lib Package

db_init Module

Create a database from scratch (wip)

class webnotes.install_lib.db_init.DatabaseInstance(conn=None, db_name=None)[source]
create_base_tables()[source]
create_db_and_user()[source]
create_docfield()[source]
create_docformat()[source]
create_docperm()[source]
create_doctype()[source]
create_doctypecache()[source]
create_module_def()[source]
create_role()[source]
create_sessions()[source]
create_singles()[source]
import_system_module()[source]
post_cleanup()[source]

install Module

class webnotes.install_lib.install.Installer(root_login, root_password)[source]
create_users()[source]

Create Administrator / Guest

framework_cleanups(target)[source]
import_core_module()[source]

Imports the “Core” module from .txt file and creates Creates profile Administrator

import_from_db(target, source_path='', password='admin', verbose=0)[source]

a very simplified version, just for the time being..will eventually be deprecated once the framework stabilizes.

webnotes.install_lib.install.copy_defs()[source]
webnotes.install_lib.install.get_parser()[source]
webnotes.install_lib.install.make_scheduler(root_login, root_password, verbose)[source]

Make the database where all scheduler events will be stored from multiple datbases See webnotes.utils.scheduler for more information

Table Of Contents

This Page