how to add new tab using code?

14 views
Skip to first unread message

amira reda

unread,
Jan 28, 2018, 3:33:00 AM1/28/18
to General Open edX discussion
hi , 
i want to add new tab and i followed the instructions in this blog :
                                                                     http://www.bedjango.com/blog/-how-create-tab-open-edx/
but  i misunderstanding what means update versions in the next lines?
  1. You need to increase the code version in setup.py

  2. Log in as edxapp user and activate their virtualenv. Then, execute the next command:
    pip install -e /edx/app/edxapp/edx-platform

  3. You must restart the server: sudo /edx/bin/supervisorctl restart edxapp :

 ******************************

When you add a new entry point, you need to update the package's version number and then reinstall it. It would be cleaner to create your new tab in its own Python package and then install that, but if you are modifying the platform directly then you'll need to do:
    pip install -e /edx/app/edxapp/edx-platform
Reply all
Reply to author
Forward
0 new messages