Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions site-docs/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ odoo-myproject-production:
deploy configure odoo-myproject-production
```

Make sure the repo has config/odoo.conf file that have odoo configuration.

**3. Update the instance** (pull + sync venv + upgrade + restart):

```bash
Expand Down
2 changes: 1 addition & 1 deletion trobz_deploy/command/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def run_hooks(hook_name: str) -> bool:
for db in eff_db:
typer.secho(f"\nUpdating database {db!r}…", fg="green")
executor.run(
f".venv/bin/click-odoo-update -d {db} --addons-path={addons_path}",
f".venv/bin/click-odoo-update --config config/odoo.conf -d {db} --addons-path={addons_path}",
cwd=instance_path,
)
executor.run(f"systemctl --user restart {instance_name}")
Expand Down