diff --git a/doc/howtos/backend.rst b/doc/howtos/backend.rst index 1fca4d151fc..8d89e22eb2a 100644 --- a/doc/howtos/backend.rst +++ b/doc/howtos/backend.rst @@ -4,8 +4,8 @@ Backend ======= -Build an Odoo module -==================== +Start/Stop the Odoo server +========================== Odoo uses a client/server architecture in which clients are web browsers accessing the odoo server via RPC. @@ -14,6 +14,19 @@ Business logic and extension is generally performed on the server side, although supporting client features (e.g. new data representation such as interactive maps) can be added to the client. +In order to start the server, simply invoke the command :ref:`odoo.py +` in the shell from the Odoo main directory: + +.. code:: bash + + ./odoo.py + +The server is stopped by hitting ``Ctrl-C`` twice from the terminal, or by +killing the corresponding OS process. + +Build an Odoo module +==================== + Both server and client extensions are packaged as *modules* which are optionally loaded in a *database*. @@ -93,11 +106,12 @@ might contain:: import mymodule Fortunately, there is a mechanism to help you set up an module. The command -``odoo.py`` has a subcommand ``scaffold`` to create an empty module: +``odoo.py`` has a subcommand :ref:`scaffold ` to +create an empty module: .. code:: bash - odoo.py scaffold + ./odoo.py scaffold The command creates a subdirectory for your module, and automatically creates a bunch of standard files for a module. Most of them simply contain commented code diff --git a/doc/reference/cmdline.rst b/doc/reference/cmdline.rst index dcedbe03eba..5999f9fa1ad 100644 --- a/doc/reference/cmdline.rst +++ b/doc/reference/cmdline.rst @@ -1,7 +1,7 @@ .. _reference/cmdline: =============================== -Command-line interface: oodo.py +Command-line interface: odoo.py =============================== .. _reference/cmdline/server: