1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-05 17:08:29 +00:00

Fix the documentation about the new __main__ module

This commit is contained in:
Guillaume Ayoub 2011-11-03 22:34:46 +01:00
parent 44af56c24c
commit 33d37fae22

View file

@ -151,21 +151,13 @@ The Radicale Project is **only the server part** of this architecture.
Code Architecture Code Architecture
----------------- -----------------
The code is split into 2 parts: the module and the server. The module offers The package offers 6 modules.
the complex functions to create a CalDAV server, and the server is the
executable using the module to launch the server.
Server ``__main__``
~~~~~~ The main module provides a simple function called ``run``. Its main work is
to read the configuration from the configuration file and from the options
The server is a simple executable. Its main work is to read the configuration given in the command line; then it creates a server, according to the
from the configuration file and from the options given in the command line; configuration.
then it creates a server, according to the configuration, thanks to the module.
Module
~~~~~~
The module offers 5 sub-modules.
``__init__`` ``__init__``
This is the core part of the module, with the code for the CalDAV server. The This is the core part of the module, with the code for the CalDAV server. The