230 lines
No EOL
15 KiB
HTML
230 lines
No EOL
15 KiB
HTML
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<title>install_lib Package — WNFramework v1.8 documentation</title>
|
|
<link rel="stylesheet" href="_static/default.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
|
<script type="text/javascript">
|
|
var DOCUMENTATION_OPTIONS = {
|
|
URL_ROOT: '',
|
|
VERSION: '1.8',
|
|
COLLAPSE_INDEX: false,
|
|
FILE_SUFFIX: '.html',
|
|
HAS_SOURCE: true
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
|
<link rel="top" title="WNFramework v1.8 documentation" href="index.html" />
|
|
</head>
|
|
<body>
|
|
<div class="related">
|
|
<h3>Navigation</h3>
|
|
<ul>
|
|
<li class="right" style="margin-right: 10px">
|
|
<a href="genindex.html" title="General Index"
|
|
accesskey="I">index</a></li>
|
|
<li class="right" >
|
|
<a href="py-modindex.html" title="Python Module Index"
|
|
>modules</a> |</li>
|
|
<li><a href="index.html">WNFramework v1.8 documentation</a> »</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="document">
|
|
<div class="documentwrapper">
|
|
<div class="bodywrapper">
|
|
<div class="body">
|
|
|
|
<div class="section" id="install-lib-package">
|
|
<h1>install_lib Package<a class="headerlink" href="#install-lib-package" title="Permalink to this headline">¶</a></h1>
|
|
<div class="section" id="module-webnotes.install_lib.db_init">
|
|
<span id="db-init-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">db_init</span></tt> Module<a class="headerlink" href="#module-webnotes.install_lib.db_init" title="Permalink to this headline">¶</a></h2>
|
|
<p>Create a database from scratch (wip)</p>
|
|
<dl class="class">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance">
|
|
<em class="property">class </em><tt class="descclassname">webnotes.install_lib.db_init.</tt><tt class="descname">DatabaseInstance</tt><big>(</big><em>conn=None</em>, <em>db_name=None</em><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance" title="Permalink to this definition">¶</a></dt>
|
|
<dd><dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_base_tables">
|
|
<tt class="descname">create_base_tables</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_base_tables"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_base_tables" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_db_and_user">
|
|
<tt class="descname">create_db_and_user</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_db_and_user"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_db_and_user" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_docfield">
|
|
<tt class="descname">create_docfield</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_docfield"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_docfield" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_docformat">
|
|
<tt class="descname">create_docformat</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_docformat"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_docformat" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_docperm">
|
|
<tt class="descname">create_docperm</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_docperm"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_docperm" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_doctype">
|
|
<tt class="descname">create_doctype</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_doctype"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_doctype" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_doctypecache">
|
|
<tt class="descname">create_doctypecache</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_doctypecache"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_doctypecache" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_module_def">
|
|
<tt class="descname">create_module_def</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_module_def"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_module_def" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_role">
|
|
<tt class="descname">create_role</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_role"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_role" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_sessions">
|
|
<tt class="descname">create_sessions</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_sessions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_sessions" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.create_singles">
|
|
<tt class="descname">create_singles</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.create_singles"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.create_singles" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.import_system_module">
|
|
<tt class="descname">import_system_module</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.import_system_module"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.import_system_module" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.db_init.DatabaseInstance.post_cleanup">
|
|
<tt class="descname">post_cleanup</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/db_init.html#DatabaseInstance.post_cleanup"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.db_init.DatabaseInstance.post_cleanup" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-webnotes.install_lib.install">
|
|
<span id="install-module"></span><h2><tt class="xref py py-mod docutils literal"><span class="pre">install</span></tt> Module<a class="headerlink" href="#module-webnotes.install_lib.install" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="webnotes.install_lib.install.Installer">
|
|
<em class="property">class </em><tt class="descclassname">webnotes.install_lib.install.</tt><tt class="descname">Installer</tt><big>(</big><em>root_login</em>, <em>root_password</em><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#Installer"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.Installer" title="Permalink to this definition">¶</a></dt>
|
|
<dd><dl class="method">
|
|
<dt id="webnotes.install_lib.install.Installer.create_users">
|
|
<tt class="descname">create_users</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#Installer.create_users"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.Installer.create_users" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Create Administrator / Guest</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.install.Installer.framework_cleanups">
|
|
<tt class="descname">framework_cleanups</tt><big>(</big><em>target</em><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#Installer.framework_cleanups"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.Installer.framework_cleanups" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.install.Installer.import_core_module">
|
|
<tt class="descname">import_core_module</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#Installer.import_core_module"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.Installer.import_core_module" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Imports the “Core” module from .txt file and creates
|
|
Creates profile Administrator</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="webnotes.install_lib.install.Installer.import_from_db">
|
|
<tt class="descname">import_from_db</tt><big>(</big><em>target</em>, <em>source_path=''</em>, <em>password='admin'</em>, <em>verbose=0</em><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#Installer.import_from_db"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.Installer.import_from_db" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>a very simplified version, just for the time being..will eventually be deprecated once the framework stabilizes.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="webnotes.install_lib.install.copy_defs">
|
|
<tt class="descclassname">webnotes.install_lib.install.</tt><tt class="descname">copy_defs</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#copy_defs"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.copy_defs" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="webnotes.install_lib.install.get_parser">
|
|
<tt class="descclassname">webnotes.install_lib.install.</tt><tt class="descname">get_parser</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#get_parser"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.get_parser" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="webnotes.install_lib.install.make_scheduler">
|
|
<tt class="descclassname">webnotes.install_lib.install.</tt><tt class="descname">make_scheduler</tt><big>(</big><em>root_login</em>, <em>root_password</em>, <em>verbose</em><big>)</big><a class="reference internal" href="_modules/webnotes/install_lib/install.html#make_scheduler"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#webnotes.install_lib.install.make_scheduler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Make the database where all scheduler events will be stored from multiple datbases
|
|
See webnotes.utils.scheduler for more information</p>
|
|
</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="sphinxsidebar">
|
|
<div class="sphinxsidebarwrapper">
|
|
<p class="logo"><a href="index.html">
|
|
<img class="logo" src="_static/wnflogo200.gif" alt="Logo"/>
|
|
</a></p>
|
|
<h3><a href="index.html">Table Of Contents</a></h3>
|
|
<ul>
|
|
<li><a class="reference internal" href="#">install_lib Package</a><ul>
|
|
<li><a class="reference internal" href="#module-webnotes.install_lib.db_init"><tt class="docutils literal"><span class="pre">db_init</span></tt> Module</a></li>
|
|
<li><a class="reference internal" href="#module-webnotes.install_lib.install"><tt class="docutils literal"><span class="pre">install</span></tt> Module</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<h3>This Page</h3>
|
|
<ul class="this-page-menu">
|
|
<li><a href="_sources/webnotes.install_lib.txt"
|
|
rel="nofollow">Show Source</a></li>
|
|
</ul>
|
|
<div id="searchbox" style="display: none">
|
|
<h3>Quick search</h3>
|
|
<form class="search" action="search.html" method="get">
|
|
<input type="text" name="q" size="18" />
|
|
<input type="submit" value="Go" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
<p class="searchtip" style="font-size: 90%">
|
|
Enter search terms or a module, class or function name.
|
|
</p>
|
|
</div>
|
|
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
</div>
|
|
</div>
|
|
<div class="clearer"></div>
|
|
</div>
|
|
<div class="related">
|
|
<h3>Navigation</h3>
|
|
<ul>
|
|
<li class="right" style="margin-right: 10px">
|
|
<a href="genindex.html" title="General Index"
|
|
>index</a></li>
|
|
<li class="right" >
|
|
<a href="py-modindex.html" title="Python Module Index"
|
|
>modules</a> |</li>
|
|
<li><a href="index.html">WNFramework v1.8 documentation</a> »</li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer">
|
|
© Copyright 2011, Rushabh Mehta, Web Notes Technologies.
|
|
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
|
|
</div>
|
|
</body>
|
|
</html> |