Skip to content

Commit 53c2406

Browse files
authored
Merge pull request #55 from jules23/rearrange-steps
rearrange order of steps in NOTES.md
2 parents 72a7c1a + abf1e30 commit 53c2406

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

contrib/remote_hsmd/NOTES.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Basic Setup:
55

66
1. Follow instructions in `doc/INSTALL.md`
77
2. Follow instructions in the "Build and Development" section in `doc/HACKING.md`
8+
3. Make sure you have cloned this repository
89

910
On Ubuntu:
1011

@@ -14,16 +15,6 @@ On Fedora:
1415

1516
sudo dnf install -y grpc-devel grpc-plugins
1617

17-
Python packages:
18-
19-
pip3 install --user base58 bitstring secp256k1 mrkd
20-
21-
# In c-lightning root, remote-hsmd branch:
22-
pip3 install --user -r requirements.txt
23-
24-
# Temporarily downgrade markupsafe to avoid breaking dependencies
25-
pip3 install --user markupsafe==2.0.1
26-
2718
Validating Lightning Signer:
2819

2920
# In parent directory of c-lightning root
@@ -32,7 +23,7 @@ Validating Lightning Signer:
3223

3324
C-Lightning:
3425

35-
# Add an "upstream" reference and fetch all tags (needed for pyln-{proto,client,testing})
26+
# Standing in c-lightning root, add an "upstream" reference and fetch all tags (needed for pyln-{proto,client,testing})
3627
# Use the HTTPS pointer if you have authentication issues with git
3728
git remote add upstream [email protected]:ElementsProject/lightning.git
3829
git fetch upstream --tags
@@ -41,6 +32,15 @@ C-Lightning:
4132
ln -s ../../../validating-lightning-signer/lightning-signer-server/src/server/remotesigner.proto)
4233
# Then do ls -alt contrib/remote_hsmd/remotesigner.proto and make sure the link is valid
4334

35+
# Then install some python dependencies
36+
pip3 install --user base58 bitstring secp256k1 mrkd
37+
38+
# In c-lightning root, remote-hsmd branch:
39+
pip3 install --user -r requirements.txt
40+
41+
# Temporarily downgrade markupsafe to avoid breaking dependencies
42+
pip3 install --user markupsafe==2.0.1
43+
4444
# Build c-lightning
4545
make distclean
4646
./configure --enable-developer

0 commit comments

Comments
 (0)