Getting Started
Follow the instructions below to set up your development environment for Substrate.
Substrate Core
- Install Rust. Make sure you have at least version 1.70.0.
- Install just by running
cargo install just
. - Enable git commit signing.
- Fork the substrate2 repository.
- Clone your fork.
- From the root of your cloned
substrate2
repo, runjust check
andjust test
. Ensure these commands complete with no errors.
Documentation
- Install NodeJS. We recommend using a version manager like nvm.
- Install yarn.
- Change into the
docs/substrate
directory inside your clonedsubstrate2
repo. - Run
yarn install
. - Run
yarn start
. Ensure that the documentation website opens in your browser and that there are no errors logged.
Reading
Read the Substrate README and contributing guide.