Keywords: OpenEdX - Virtual Machines - How to - Other
# How to access Django and create new apps for edx backend ?
A tutorial would be much much appreciated by the community! Documentation of Edx is overwelming (let alone that working with a VM has its own challenge)
Id like to apply for a job that ask understanding of Edx and Django, and struggle to access edx because I can only use VM and .. well, it is rather complex:
please help me understand how to address a first simple task.
Create a new app (django-admin) and model , modify template in front end
I can create applications for django project, I can create a foo app to display last entry on an html template.
I want to replicate the same in open edx, using the VM as a sand-box.
I see there is
manage.py but not a
I could not figure out where it is, I read in the git manage.py will delegate commands to django-admin, anyway.
So I try to crate an app, like:
python3 manage.py startapp /features/myapp (yes, on open edx guidelines I read it is adviced to place apps in /features folder )
from safe_lxml import defuse_xml_libs
importError: No module named safe_lxml
I thought it could be that I gotta run in virtual enviroments, so I looked around documentation could not find.
I eventually found the directory
venvsin parent folder, tried to launch :
then try again :
python3 manage.py startapp /features/myapp
Is it an error really due to a missing library, or is it something higher level, I suspect, for I am not following the right procedure to create new apps for a django backend of openedx?
did not help me much...
Could you kindly show a foo procedure to create a foo app in django for open edx,
to understand the differences to do the same VS a "normal" django project ?
I am struggling even to find the right folders ( also because at the moment I m having other issues to working smoothly with the VM interface ) .
Thank you for your help.