I’ve got the devstack built and running and it seems to work. Phew!
Now its time to figure out how all this code works and try fixing something or changing it to see if I can actually develop.
From the standpoint of Django development:
Let’s say I want to change something in the CMS So I’d typically want to use the debugger in a section of the code that is relevant so I could set breakpoints, add print statements, find the bug, change the code, test it…
Could someone provide a recipe (I work on an Ubuntu machine) that would allow me to use an IDE like PyCharm to do this debug cycle. I’m guessing that code may be very data-driven. So perhaps things like XBlocks are defined in a database and then some more generic code loads it and executes based on the data… or maybe not. The point is that the workflow might need some amount of database tampering in order to achieve an effect on behavior so please describe how that might be done in addition to modifying the Django. Of course, I’m not asking about UI changes but that would certainly be another needed recipe.
Any instructions on correctly setting up the Python virtual environment would also be helpful.
I tried building one based on python3.8 with
sudo pip install -qr requirements/edx/development.txt --exists-action w
and it failed. The log file is long. I can attach with a reply but maybe this was the wrong way to build the venv.
Thanks for any help!