6 The ``oe`` script provides a set of command-line tools around the OpenERP
7 framework. It is meant to replace the older ``openerp-server`` script (which
13 In contrast to the previous ``openerp-server`` script, ``oe`` defines a few
14 commands, each with its own set of flags and options. You can get some
15 information for any of them with
25 Some ``oe`` options can be provided via environment variables. For instance::
27 > export OPENERP_DATABASE=trunk
28 > export OPENERP_HOST=127.0.0.1
29 > export OPENERP_PORT=8069
31 Depending on your needs, you can group all of the above in one single script;
32 for instance here is a, say, ``test-trunk-view-validation.sh`` file::
34 COMMAND_REPO=/home/thu/repos/command/trunk/
35 SERVER_REPO=/home/thu/repos/server/trunk
37 export PYTHONPATH=$SERVER_REPO:$COMMAND_REPO
38 export PATH=$SERVER_REPO:$COMMAND_REPO:$PATH
39 export OPENERP_DATABASE=trunk
40 export OPENERP_HOST=127.0.0.1
41 export OPENERP_PORT=8069
43 # The -d ignored is actually needed by `oe` even though `test_view_validation`
44 # itself does not need it.
45 oe run-tests -d ignored -m openerp.test_view_validation
50 See the :doc:`commands` page.
55 See the :doc:`adding-command` page.
60 A preliminary ``oe-bash-completion`` file is provided. After sourcing it,
64 > . oe-bash-completion
66 completion (using the TAB character) in Bash should work.