Repository which contains the code to run an ermes node.
For this repository to work properly, you must also clone the Ermes Common repository with this structure.
projects
└───ermes-generic-node
│ │ ...
│
└───ermes-common
│ ...
To install WasmEdge run
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | sudo bash -s -- -p /usr/local$ cd main
$ go build mainTo run the ermes node you need to provide the path to a configuration file. An example configuration file can be found in the folder ./exampleConfigs.
To run the ermes node use
$ ./main {pathToConfigFile}This project uses mockery to generate mocks for testing purposes. To install mockery run
go install github.com/vektra/mockery/[email protected]To generate the mocks open a terminal in the root folder of the project and run
$ mockeryYou can run tests of each module with
$ go test {moduleName}To run tests of the entire project run
$ go list -f '{{.Dir}}' -m | xargs -I {} go test {}/... --tags test