Replies: 1 comment
-
I set this up just last month in my environment and it works like a charm. It doesn't matter if you've got different folders for netbox and your plugin. That's the way it should be. I roughly followed this guide: https://code.visualstudio.com/docs/python/tutorial-django Make sure you activated your venv and you ran "python setup.py develop", which links all the needed parts of your plugin into netbox and you set DEBUG = True in your configuration.py. This is described in the netbox plugin tutorial. Following the linked guide above, in VS Code / Codium you have to
No need to worry about postgresql libs or anything. Btw. I installed postgresql according to the official netbox manual. No docker. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! after i followed the tutorial steps Plugin worked succesfully tryed to use visual studio code debug function and set the launch.json ,but debug runnig have Problem with find the Postsqllib .
Is it because the NetBox files and plugin files are not in the same folder?
Beta Was this translation helpful? Give feedback.
All reactions