Skip to content

Commit

Permalink
Make deploys faster (ordinals#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Aug 18, 2022
1 parent 1ca529e commit 700109f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/setup
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ source ~/.cargo/env

rustup update stable

cargo install --path . --root /usr/local
cargo build --release
mv /usr/local/bin/ord ord.old
cp target/release/ord /usr/local/bin/ord

id --user bitcoin || useradd --system bitcoin
id --user ord || useradd --system ord
Expand All @@ -51,6 +53,7 @@ systemctl stop ord
cp target/release/ord /usr/local/bin/ord
systemctl enable ord
systemctl restart ord
rm ord.old

while ! curl --fail https://signet.ordinals.com/status; do
echo Waiting for ord…
Expand Down

0 comments on commit 700109f

Please sign in to comment.