diff --git a/standalone/manage.py b/standalone/manage.py index 577f515..468c371 100644 --- a/standalone/manage.py +++ b/standalone/manage.py @@ -3,6 +3,10 @@ import os import sys +# Ensure the project root (/app) is on sys.path so that both 'standalone' +# and 'bambu_run' are importable regardless of where this script is invoked from. +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) + def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "standalone.settings")