The APIs in this repository, are for Open edX platform.
-
Clone the repository:
-
Copy the API folder (registration_api) to the folder, /edx/app/edxapp/edx-platform/lms/djangoapps/
-
Add the name of the app (registration_api) in the key ‘INSTALLED_APPS’ in python file /edx/app/edxapp/edx-platform/lms/envs/common.py
INSTALLED_APPS = (
...
‘registration_api',
)
- Add the urls of the app (registration_api) to ‘url_patterns’ in python file /edx/app/edxapp/edx-platform/lms/urls.py
urlpatterns = (
...
url(r’^api/courses’, include(‘registration_api.urls’)),
)
- Restart LMS and CMS servers by the command:
sudo /edx/bin/supervisorctl restart edxapp: