Nix Installation
NeoPRISM can be built and run using Nix flakes.
Prerequisites
- Nix with flake support enabled. See Nix Flakes documentation for setup instructions.
- Git: Install Git
Steps
-
Build the NeoPRISM binary from the remote flake:
nix build github:hyperledger-identus/neoprism/<TAG>#neoprism-bin
- The resulting binary will be located in
./result/bin/neoprism-node
.
- The resulting binary will be located in
-
Build the UI assets from the remote flake (in a separate output directory):
nix build github:hyperledger-identus/neoprism/<TAG>#neoprism-ui-assets -o ./result-ui-assets
- The UI assets will be available in
./result-ui-assets
.
- The UI assets will be available in
-
Run NeoPRISM and link the UI assets:
-
Use the
--assets-path
flag to specify the UI assets directory:./result/bin/neoprism-node indexer --assets-path ./result-ui-assets/assets [options]
-
For details on available commands and options, see the CLI help:
./result/bin/neoprism-node indexer --help
-
-
Access the Web UI:
- Open http://localhost:8080 in your browser.