| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a django app plugin extracted from edx-platform which enables certain users to perform some specific operations in Open edX environment (which are described under Features section below). Earlier, Sysadmin Dashboard was a part of edx-platform, however starting from lilac release of Open edX the sysadmin panel has been removed and transitioned to as separate plugin.
NOTE: It is recommended that you use edx-sysadmin plugin with Open edX's lilac release and successors. If you wish to use the Sysadmin Dashboard with Open edX releases before lilac you don't have to install this plugin and can simply enable ENABLE_SYSADMIN_DASHBOARD feature flag in environment files (e.g lms.yml or lms.env.json) to access sysadmin dashboard features.
edx-sysadmin provides different features such as:
You have the following configuration properties to customize your plugin behavior:
Note: In some cases you might need to restart edx-platform after installing the plugin to reflect the changes.
For development you need to install this plugin into your Open edX instance.
# Clone edx-sysadmin to a directory which can be accessed from inside lms container i.e. ``src`` folder of # Open edX devstack setup, which is present under root directory (sibling directory of edx-platform directory) # and mapped at ``/edx/src`` inside edx-platform's lms container. cd src git clone git@github.com:mitodl/edx-sysadmin.git # Open LMS shell cd ../devstack make lms-shell # Remove edx-sysadmin plugin if already installed pip uninstall edx-sysadmin # Install plugin in editable mode pip install -e /edx/src/edx-sysadmin # If edx-sysadmin plugin doesn't reflect anything you can simply restart lms container (optional) make lms-restart
After installation the plugin should be directly getting served through your edx-sysadmin cloned repo (present at src folder) and you can do live changes to the plugin and they will be reflected in your Open edX instance.
edx-sysadmin tests are dependent on edx-platform that's why they can only be run from inside of lms shell
# Enter LMS shell cd devstack make lms-shell # Go to the directory where edx-sysadmin is mapped inside container i.e. ``/edx/src/edx-sysadmin`` cd /edx/src/edx-sysadmin # Install requirements for running tests (you can also install requirements inside a virtual environment) pip install -r ./requirements/quality.txt # Run Pytest pytest . # Run black formatter black --check . # Run Pycodestyle pycodestyle edx_sysadmin tests # Run Pylint pylint ./edx_sysadmin
The code in this repository is licensed under the AGPL 3.0 unless otherwise noted. Please see LICENSE.txt for details.
Contributions are very welcome. Even though they were written with edx-platform in mind, the guidelines should be followed in all Open edX projects including this plugin.
| Back | FazBrowse Home | New Git URL |