Skip to main content
Version: Previous

Reporting - installation

Initialising and adding to a new application

The best way to add the Reporting component to a new application is to use GenX - see GenX CLI for more details.

For example, the following command initialises a new application called myapp and adds the Reporting component to it.

Powershell
npx -y @genesislcap/genx@latest init myapp -x --no-shell; npx -y @genesislcap/genx@latest add myapp -x -s genesislcap/pbc-reporting-seed

Adding to an existing application

To the Reporting component to an existing application, run this command, which uses genx to install the component (change app-folder-name to the name of your app folder):

Powershell
npx -y @genesislcap/genx@latest add app-folder-name -x -s genesislcap/pbc-reporting-seed