mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Update readme file to include section on running under windows (#715)
This commit is contained in:
parent
80d6c60769
commit
3868b6bbe7
22
README.md
22
README.md
@ -21,6 +21,7 @@ Also, read our [Sharding Reference Implementation Doc](https://github.com/prysma
|
||||
- [Running The Beacon Chain](#running-the-beacon-chain)
|
||||
- [Running an ETH2.0 Validator Client](#running-an-eth2.0-validator-client)
|
||||
- [Running Via Docker](#running-via-docker)
|
||||
- [Running Under Windows](#running-under-windows)
|
||||
- [Testing](#testing)
|
||||
- [Contributing](#contributing)
|
||||
- [License](#license)
|
||||
@ -173,6 +174,27 @@ This will connect you to your running beacon node and listen for shard/slot assi
|
||||
|
||||
If you want to run the system with a real Web3 endpoint to listen for incoming Ethereum 1.0 block hashes, follow the instructions on setting up a geth node [here](https://github.com/prysmaticlabs/prysm/blob/master/docs/MAINCHAIN.md).
|
||||
|
||||
## Running Under Windows
|
||||
|
||||
The best way to run under Windows is to clone the repository and then run the node with go run from the Windows command line. Go 1.10 fails due to documented permission errors so be sure you are running Go 1.11 or later. Go through the source code and resolve any dependencies. Create two empty files for use as data directories by the beacon chain and validator respectively. The contents of these files should be deleted each time you run the software. After cloning the Prsym repository, run the node as follows:
|
||||
|
||||
```
|
||||
go run ./beacon-chain main.go \
|
||||
--genesis-json /path/to/genesis.json \
|
||||
--datadir /path/to/your/datadir \
|
||||
--rpc-port 4000 \
|
||||
--simulator \
|
||||
--demo-config
|
||||
```
|
||||
|
||||
After the beacon chain is up and running, run the validator client as a separate process as follows:
|
||||
|
||||
```
|
||||
go run ./validator/main.go \
|
||||
--beacon-rpc-provider http://localhost:4000 \
|
||||
--datadir /path/to/uniquevalidatordatadir \
|
||||
--pubkey CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
|
||||
```
|
||||
|
||||
# Testing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user