mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-19 08:51:58 +02:00
18 lines
503 B
Markdown
18 lines
503 B
Markdown
# CLI
|
|
|
|
Entrypoints to manage Odoo from the command line.
|
|
|
|
## `odoo-bin`
|
|
- Start the server: `odoo-bin -c odoo.conf`
|
|
- Initialize DB: `-d dbname -i base`
|
|
- Update modules: `-u module1,module2`
|
|
|
|
## Common Flags
|
|
- `--addons-path=/path1,/path2`
|
|
- `--db_host`, `--db_port`, `--db_user`, `--db_password`
|
|
- `--http-port=8069`, `--longpolling-port=8072`
|
|
- `--workers=0` (single process) or `>0` (multi workers)
|
|
|
|
## Logs
|
|
- `--log-level=info` (or debug_sql, debug_rpc)
|
|
- Logs go to stdout or file via `--logfile`
|