You must first be in the nix development shell.
nix develop
This will create the root.key
cabal run elabs-backend:app -- genrootkey --mnemonic "brand scatter almost cattle reward guilt one sound embrace payment want brand april kiwi major novel orchard innocent interest sense alley deny main fit"
This will create a test auth token:
cabal run elabs-backend:app -- addtoken --token TEST --notes Test
cabal run elabs-backend:app run
At the moment we are using PostgreSQL, the database must be a relational database with rollback functionality.
-
Setup
We need
cardano-cli v8.1.1
to be available in our system for running privnet Test. Executable can be downloaded from here
To run the integration test, please ensure that cardano-cli
and cardano-node
are available in your environment. Also, you must be in the nix development environment (nix develop
) before running the integration test with make integration-test
.
Note
After cardano-cli is available through flake manual setup of cardano-cli is not needed, appropriate version of cardano-cli will be automatically available.