- Add optional env_file parameter with default value ".env" - Convert relative env_file paths to absolute paths before directory change - Maintain backward compatibility with existing calls - Improve flexibility for different environment file locations
773 B
773 B
Loakale Entwicklung an oow
Das geht am einfachsten mit pipx im "editable mode" (--editable), sodass Änderungen im Arbeitsverzeichnis sofort wirksam sind.
Angenommen, dein Arbeitsverzeichnis ist odoo-openupgrade-wizard, dann führe im Terminal aus:
pipx install --editable /home/lotzm/gitea.hobbyhimmel/odoo-openupgrade-wizard
Dadurch wird ein Symlink auf dein Arbeitsverzeichnis erstellt und du kannst direkt am Code arbeiten.
Das Kommando oow ist dann wie gewohnt verfügbar, aber nutzt immer den aktuellen Stand deines Codes.
Hinweis:
Falls du vorher schon eine pipx-Installation hattest, führe vorher aus:
pipx uninstall odoo-openupgrade-wizard
Danach kannst du Änderungen im Arbeitsverzeichnis machen und direkt testen!