mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 19:02:42 +00:00
* Refactor documentation, ef_tests makefile * Add makefile to root * Tidy readme * Fix readme badges * Tidy logs * Add terminalize gif * Update readme image * Update readme image * Tidy logs * Update readme image * Update readme * Update readme * Fix book link * Update makefiles * Update book * Fix link in book * Add readme for book * Remove old docs, move api spec YAML * Fix eth2/ dir readme * Add readme for lcli * Add about this book section * Minor formatting improvements * Address mehdi's comments
1.3 KiB
1.3 KiB
Development Environment Setup
Linux, MacOS & Windows
- Install Rust and Cargo with rustup.
- Use the
stabletoolchain (it's the default).
- Use the
- Install build dependencies using your package manager.
clang,protobuf,libssl-dev,cmake
- Clone the github.com/sigp/lighthouse repository.
- Run
$ maketo build Lighthouse. - Run
$ make testto run the test suite- If you experience any failures, please reach out on discord.
- Developers use
$ make test-fullto ensure you have the full set of test vectors.
- The
beacon_node,validator_clientand other binaries are created intarget/releasedirectory.- First-time compilation may take several minutes.
Windows
Perl may also be required to build Lighthouse. You can install Strawberry
Perl, or alternatively if you're using the Chocolatey package manager for Windows, use the following choco install command: choco install strawberryperl.
Additionally, the dependency protoc-grpcio v0.3.1 is reported to have issues
compiling in Windows. You can specify a known working version by editing
version in protos/Cargo.toml section to protoc-grpcio = "<=0.3.0".