Add production site setup guide and related install scripts

This commit is contained in:
wiz
2020-05-25 20:58:46 +09:00
parent 003361befb
commit ecbc3e7580
5 changed files with 222 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/local/bin/zsh
cd /electrs
source $HOME/.cargo/env
export PATH=$HOME/.cargo/bin:$PATH
until false
do
cargo run \
--release \
--bin electrs \
-- \
-vv \
--network testnet \
--daemon-dir /bitcoin \
--http-addr '[::]:3002' \
--cookie 'user:pass' \
--precache-scripts /electrs/contrib/popular-scripts.txt
sleep 1
done