Roller CLI is a command-line interface tool designed to facilitate the creation and operation of RollApps on the Dymension Hub. It allows developers to effortlessly spin up and run RollApps, simplifying the development process and making the Dymension Hub more accessible.
To build and test the latest version from the main branch:
First, install all the necessary dependencies using the following command:
curl https://raw.githubusercontent.com/dymensionxyz/roller/main/install.sh | bash
Next, clone this repository. Once cloned, navigate to the root directory and execute:
make build
This command builds the latest version of Roller and places the executable
in the ./build
directory.
To run Roller, use:
./build/roller
To run all the tests, run from the root directory:
go test ./...
To install a specific pre-release version, use:
export ROLLER_RELEASE_TAG="<RELEASE_TAG>"
curl -L https://dymensionxyz.github.io/roller/install.sh | bash
For more information about Roller and its usage, please refer to the documentation.
pre-commit will help you with the hooks that will make sure you follow the style guidelines, once installed run:
pre-commit install -c .pre-commit-config.yaml -t commit-msg
pre-commit install -c .pre-commit-config.yaml