-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post-Installation script for installation, enable and disable plugins in admin-ui frontend #302
Comments
feat: made UpdateToken scripts run only if it's bound to client
feat: made UpdateToken scripts run only if it's bound to client
OverviewThere will be only following commands in post-install script
Steps to add/remove pluginInitial Installation
Add Plugin
Remove Plugin
Finally n. The script should zip back the extracted contents of /opt/dist/jans/gluu-admin-ui.zip. |
@duttarnab Do you think we can close this issue? |
Done |
Description
To install, enable and disable plugins in the admin-ui frontend we need a post-installation script.
Install Plugin
- Users can develop frontend plugins for Admin UI. The newly developed frontend plugin can be installed in Admin UI application.Enable Plugins
- The plugins installed in Admin UI need to be enabled so that they are included when the project is built.Disable Plugins
- The plugins in Admin UI can be disabled so that they are not included when the project is built.Steps to install, enable and disable plugins in admin-ui frontend using post-installation script :
a. Extract
/opt/dist/jans/gluu-admin-ui.zip
b. Change directory to extracted
gluu-admin-ui
c. The post-installation script will show the following message
Install Plugin
d. If the user selects
1
then the script will display the following messagee. After the path is entered script should check if the path is preset. Then execute the following command to install the plugin
Enable Plugin
f. If the user selects
2
then the script will first execute below command to display a list of all available disabled plugins.g. Then it will display the following message
h. After the user enters plugin keys, the script should run below command
i. Then script should run
npm run build:prod
and copy the built from <gluu-admin-ui_home>/dist and overwrite to /var/www/html/admin.Disable Plugin
j. If the user selects
3
then the script will first execute the below command to display a list of all available enabled plugins.k. Then it will display the following message
l. After the user enters plugin keys, the script should run below command
m. Then script should run
npm run build:prod
and copy the built from <gluu-admin-ui_home>/dist and overwrite to /var/www/html/admin.Finally
n. The script should zip back the extracted contents of
/opt/dist/jans/gluu-admin-ui.zip
.The text was updated successfully, but these errors were encountered: