Merge fort-nix/nix-bitcoin#636: docs/install: don't enter examples shell while creating node config
329fbac404docs/install: don't enter examples shell while creating node config (Erik Arvstedt) Pull request description: ACKs for top commit: jonasnick: ACK329fbac404Tree-SHA512: 220f97b8d57207da516003576eb7710a9040c05dfac147492181dc4b5cf673713ed91383574ecba4c66a294d8f52e48fb59916ecc930ed8233da23e6136fba60
This commit is contained in:
commit
13a264105e
1 changed files with 8 additions and 18 deletions
|
|
@ -210,31 +210,21 @@ You can also build Nix from source by following the instructions at https://nixo
|
|||
1. Clone this project
|
||||
|
||||
```
|
||||
cd
|
||||
git clone https://github.com/fort-nix/nix-bitcoin
|
||||
```
|
||||
|
||||
2. Obtain the hash of the latest nix-bitcoin release
|
||||
2. Create a new directory for your nix-bitcoin node config and copy initial files from nix-bitcoin
|
||||
|
||||
```
|
||||
cd nix-bitcoin/examples
|
||||
nix-shell
|
||||
```
|
||||
|
||||
This will download the nix-bitcoin dependencies and might take a while without giving an output.
|
||||
Now in the nix-shell run
|
||||
|
||||
```
|
||||
fetch-release > nix-bitcoin-release.nix
|
||||
```
|
||||
|
||||
3. Create a new directory for your nix-bitcoin deployment and copy initial files from nix-bitcoin
|
||||
|
||||
```
|
||||
cd ../../
|
||||
mkdir nix-bitcoin-node
|
||||
cd nix-bitcoin-node
|
||||
cp -r ../nix-bitcoin/examples/{nix-bitcoin-release.nix,configuration.nix,shell.nix,krops,.gitignore} .
|
||||
cp -r ../nix-bitcoin/examples/{configuration.nix,shell.nix,krops,.gitignore} .
|
||||
```
|
||||
|
||||
3. Obtain the hash of the latest nix-bitcoin release
|
||||
|
||||
```
|
||||
../nix-bitcoin/helper/fetch-release > nix-bitcoin-release.nix
|
||||
```
|
||||
|
||||
#### Optional: Specify the system of your node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue