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.
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
+<reference/cmdline>` 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*.
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 <reference/cmdline/scaffold>` to
+create an empty module:
.. code:: bash
- odoo.py scaffold <module name> <where to put it>
+ ./odoo.py scaffold <module name> <where to put it>
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
.. _reference/cmdline:
===============================
-Command-line interface: oodo.py
+Command-line interface: odoo.py
===============================
.. _reference/cmdline/server: