dagobah
dagobah copied to clipboard
How to run and debug the whole project?
Excuse me, but I'm a rookie in python.
I want to develop a few new applications based on your dagabah, but I don't know how to start it. I find this in "app.py": if name == 'main': daemon_entrypoint()
After running, there exists an error : ValueError: Attempted relative import in non-package
So if I want to run and debug the whole project, which file should I run?
If you've installed the project through pip, i.e. pip install dagobah, then you should have a dagobahd executable that will launch the project for you.
If you are looking to start the project manually, you might try python -m dagobah.daemon.app, but I'm not sure that will work with the main convention rather than __init__. Regardless, I think the -m option will be necessary at some point so the relative imports work.