To run the backend, you will need cargo
to build the binary. We recommend using rustup
.
To run the frontend make sure to grab the latest stable version of node and install dependencies before doing anything:
nvm install stable
yarn
cd backend
cargo build --release
./target/release/telemetry
yarn start:frontend
Follow up installation instructions from the Polkadot repo
./target/release/polkadot --dev --telemetry-url ws://localhost:8000/submit
To run via docker make sure that you have Docker Desktop
- If you dont you can download for you OS here Docker Desktop
docker-compose up --build -d
- -d stands for detach, if you would like to see logs i recommend using Kitmatic or dont use the -d
- --build will build the images and rebuild, but this is not required everytime
- If you want to makes UI changes, there is no need to rebuild the image as the files are being copied in via volumes.
Now navigate to localhost:3000 in your browser to view the app.