Hello, I’m new to open edX. I have been trying to build a plugin. This article has been of great help. But I ran into a few issues.
I’m trying to persist something into the database. I can access the plugin via the URL.
How do I make migrations for my plugin? I’m currently running
tutor dev run lms ./manage.py lms makemigrations django-app-pluginand getting an error
No installed app with label 'django-app-plugin'
What I have tried doing is
pip install -e ./django-app-pluginI figured since this installs then it should be added to tutor’s plugins list
tutor plugins list. This does not seem to be the case.
How do I save my data to another database? Let’s say I want to persist my data to a PostgreSQL instance. This is something I would try out myself but I can’t get step one. I think it has something to do with overriding the docker-compose as the article shows in Step 3. part 2