Updated Setting up a Hub (markdown)

Alex Grin 2022-11-14 10:44:05 -05:00
parent e22103c1ec
commit 62dc9c8b4a

@ -53,6 +53,7 @@ sudo apt install -y zstd
cd /home/lbry/docker-volumes/lbcd cd /home/lbry/docker-volumes/lbcd
wget -c https://snapshots.lbry.com/blockchain/lbcd_snapshot_1238238_v0.22.116_2022-10-07.tar.zst -O - | tar --zstd -x wget -c https://snapshots.lbry.com/blockchain/lbcd_snapshot_1238238_v0.22.116_2022-10-07.tar.zst -O - | tar --zstd -x
sudo chown -R 999:999 . sudo chown -R 999:999 .
cd ~
``` ```
## download docker-compose.yml ## download docker-compose.yml
@ -70,7 +71,16 @@ docker compose up -d lbcd
wait for it to sync fully (how will they know?) wait for it to sync fully (how will they know?)
## then start scribe and let it sync ## download scribe snapshot
```
cd /home/lbry/docker-volumes/lbcd
wget -c https://snapshots.lbry.com/hub/block_1256013/lbry-rocksdb.tar -O - | tar -x
sudo chown -R 999:999 .
cd ~
```
## start scribe and let it sync
scribe sync takes two days if you sync from scratch, or an hour or two if you use a recent snapshot scribe sync takes two days if you sync from scratch, or an hour or two if you use a recent snapshot