fe-opensearch_reports
/
1.0.0
fe-opensearch_reports 1.0.0
Install from the command line:
Learn more about npm packages
$ npm install @openimis/fe-opensearch_reports@1.0.0
Install via package.json:
"@openimis/fe-opensearch_reports": "1.0.0"
About this version
This repository holds the files of the openIMIS Frontend OpenSearch Reports module. It is dedicated to be bootstrap development of openimis-fe_js modules, providing an empty (yet deployable) module.
Please refer to openimis-fe_js to see how to build and and deploy (in developement or server mode).
The module is built with rollup.
In development mode, you can use npm link
and npm start
to continuously scan for changes and automatically update your development server.
- Add the following value to the environment file in openimis-dist_dkr
OPENSEARCH_BASIC_TOKEN
(based on admin and password credentials to OpenSearch). - Use the following environment variables in the .env file in openimis-fe_js:
ENV OPENSEARCH_PROXY_ROOT="opensearch"
- Run the backend and frontend services with opensearch and opensearch-dashboards services.
- Enter the
<host-url>/opensearch
path in your web browser's URL bar, where host-url corresponds to the host where your server is deployed. - Provide your admin credentials.
- You can now make modifications to dashboards and visualizations.
Open Search Reports (openSearchReports.openSearch key)
- Open Search Reports (openSearchReports.openSearch key)
core.Router: registering openSearchReports, route in openIMIS client-side router
state.core.user, to access user info (rights,...)