Installing Report Manager

To start using Report Manager, you need to:

  1. Include the necessary JS and CSS scripts into an HTML file.
  2. Call the object constructor.

Included Files

You need to include 4 files on a page:

  <!-- Webix Library -->
  <script src="codebase/webix.js" type="text/javascript"></script>
  <link rel="stylesheet" href="codebase/webix.css" type="text/css">
  <!-- Report Manager -->
  <script type="text/javascript" src="codebase/reports.js"></script>
  <link rel="stylesheet" href="codebase/reports.css" type="text/css">
    <!-- Report Manager constructor -->
</script> </body> </html>

See the next chapter to learn more ways of creating Report Manager on a page.

Starting a Backend Server

Using Golang

To get the Golang backend for Report Manager take the following steps:

  • configure DB connection
  • start the service
# generate test data, optional
metadb --demodata
# run the service
metadb --scheme ./demodata/meta.yml
  • update client side sample to use your backend.

See more details on the repository README.

Running Package Samples Locally

To run package samples on a local machine you should navigate to the Report Manager root folder, install the necessary dependencies and start a development server as:

// navigate to the root folder
cd reports
// install dependencies
yarn install //or npm install
// start dev server
yarn server //or npm run server
Back to top