How to add external repo dependency in edx-platform

Steps to follow when you have created an external repo under /edx, and it is up on GitHub.

Step-by-step guide

  1. Make sure your repo is up-to-date. Clone the repo URL (HTTPS clone URL), and copy the  latest commit.
  2. In edx-platform repo - go to requirements/edx/github.txt and add an entry with this format  
             -e git+<cloned HTTPS repo URL>@<latest_commit>#egg=<dependency_name>
             Ex. -e git+
  3.  Now that you have made an entry in the ‘github.txt’; go to directory /edx/app/edxapp/edx-platform, and run   
             pip install -r requirements/edx/github.txt