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

22
production/electrs-start-liquid Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/local/bin/zsh
cd /electrs
source $HOME/.cargo/env
export PATH=$HOME/.cargo/bin:$PATH
until false
do
cargo run \
--release \
--features liquid \
--bin electrs \
-- \
-vvv \
--address-search \
--network liquid \
--daemon-dir /elements \
--http-addr '[::]:3001' \
--monitoring-addr '127.0.0.1:4225' \
--cookie 'user:pass' \
--precache-scripts $HOME/electrs/contrib/popular-scripts.txt
sleep 1
done