~openerp-community/openobject-doc/6.1

« back to all changes in this revision

Viewing changes to source/developer/1_1_Introduction/4_command_line.rst

  • Committer: TruongSinh Tran
  • Date: 2009-07-19 19:02:35 UTC
  • Revision ID: truongsinh@vipescoserver-20090719190235-fu3bxcrbpvwuk5h7
[FIX] build_i18n.py .. raw:: html

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Command line options
 
2
====================
 
3
 
 
4
General Options
 
5
----------------
 
6
 
 
7
  --version             show program version number and exit
 
8
  -h, --help            show this help message and exit
 
9
  -c CONFIG, --config=CONFIG
 
10
                        specify alternate config file
 
11
  -s, --save            save configuration to ~/.terp_serverrc
 
12
  -v, --verbose         enable debugging
 
13
  --pidfile=PIDFILE     file where the server pid will be stored
 
14
  --logfile=LOGFILE     file where the server log will be stored
 
15
  -n INTERFACE, --interface=INTERFACE
 
16
                        specify the TCP IP address
 
17
  -p PORT, --port=PORT  specify the TCP port
 
18
  --net_interface=NETINTERFACE
 
19
                        specify the TCP IP address for netrpc
 
20
  --net_port=NETPORT    specify the TCP port for netrpc
 
21
  --no-netrpc           disable netrpc
 
22
  --no-xmlrpc           disable xmlrpc
 
23
  -i INIT, --init=INIT  init a module (use "all" for all modules)
 
24
  --without-demo=WITHOUT_DEMO
 
25
                        load demo data for a module (use "all" for all
 
26
                        modules)
 
27
  -u UPDATE, --update=UPDATE
 
28
                        update a module (use "all" for all modules)
 
29
  --stop-after-init     stop the server after it initializes
 
30
  --debug               enable debug mode
 
31
  -S, --secure          launch server over https instead of http
 
32
  --smtp=SMTP_SERVER    specify the SMTP server for sending mail
 
33
  --price_accuracy=PRICE_ACCURACY
 
34
                        specify the price accuracy
 
35
 
 
36
Database related options:
 
37
-------------------------
 
38
 
 
39
  -d DB_NAME, --database=DB_NAME
 
40
                        specify the database name
 
41
  -r DB_USER, --db_user=DB_USER
 
42
                        specify the database user name
 
43
  -w DB_PASSWORD, --db_password=DB_PASSWORD
 
44
                        specify the database password
 
45
  --pg_path=PG_PATH   specify the pg executable path
 
46
  --db_host=DB_HOST   specify the database host
 
47
  --db_port=DB_PORT   specify the database port
 
48
 
 
49
Internationalization options:
 
50
-----------------------------
 
51
 
 
52
    Use these options to translate Tiny ERP to another language.See i18n
 
53
    section of the user manual. Option '-l' is mandatory.
 
54
 
 
55
  -l LANGUAGE, --language=LANGUAGE
 
56
                       specify the language of the translation file. Use it
 
57
                       with --i18n-export and --i18n-import
 
58
  --i18n-export=TRANSLATE_OUT
 
59
                       export all sentences to be translated to a CSV file
 
60
                       and exit
 
61
  --i18n-import=TRANSLATE_IN
 
62
                       import a CSV file with translations and exit
 
63
  --modules=TRANSLATE_MODULES
 
64
                       specify modules to export. Use in combination with
 
65
                       --i18n-export