Skip to content
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

feat(flex-linux-setup): installer should pull static admin-ui build from repository url rather than creating build during installation #1725

Closed
duttarnab opened this issue May 27, 2024 · 0 comments · Fixed by #1733
Assignees
Labels
comp-flex-cn-setup Component affected by issue or PR comp-flex-linux-setup Component affected by issue or PR enhancement New feature or request kind-feature Issue or PR is a new feature request

Comments

@duttarnab
Copy link
Contributor

duttarnab commented May 27, 2024

Changes to the steps for installing the Admin UI:

1, Flex installer will not generate admin-ui built from the flex main branch. Please remove all the steps required to built admin-ui from the repository.

It will directly pull and extract admin-ui built from https://jenkins.gluu.org/npm/admin_ui/main/built/admin-ui-main-built.tar.gz to /var/www/html/admin directory (apache2 deploy directory).

  1. Create env-config.js in /var/www/html/admin directory with the following contents.
const CONFIG_API_BASE_URL = "https://%(hostname)s/jans-config-api"
const API_BASE_URL = "https://%(hostname)s/jans-config-api/admin-ui"
const BASE_PATH = "/admin/"

window.configApiBaseUrl = CONFIG_API_BASE_URL
window.apiBaseUrl = API_BASE_URL
window.basePath = BASE_PATH

The %(hostname)s should be replace by config-api hostname.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-flex-cn-setup Component affected by issue or PR comp-flex-linux-setup Component affected by issue or PR enhancement New feature or request kind-feature Issue or PR is a new feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants