Document Management - installation
Initialising and adding to a new application
The best way to add the Document Management 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 Document Management component to it.
- Windows
- Mac and Linux
Powershell
npx -y @genesislcap/genx@latest init myapp -x --no-shell; npx -y @genesislcap/genx@latest add myapp -x -s genesislcap/pbc-documents-seed
Bash
npx -y @genesislcap/genx@latest init myapp -x --no-shell && npx -y @genesislcap/genx@latest add myapp -x -s genesislcap/pbc-documents-seed
Adding to an existing application
To add the Document Management component to an existing application, run this command, which uses genx to install the components (change app-folder-name to the name of your app folder):
- Windows
- Mac and Linux
Powershell
npx -y @genesislcap/genx@latest add app-folder-name -x -s genesislcap/pbc-documents-seed
Bash
npx -y @genesislcap/genx@latest add app-folder-name -x -s genesislcap/pbc-documents-seed
important
You can check the latest available version at genesisnpm.