forked from ordinals/ord
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve deploy scripts (ordinals#342)
- Loading branch information
Showing
5 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ Environment=RUST_BACKTRACE=1 | |
Environment=RUST_LOG=info | ||
ExecStart=/usr/local/bin/ord \ | ||
--cookie-file /var/lib/bitcoind/signet/.cookie \ | ||
--max-index-size 1TiB \ | ||
--rpc-url 127.0.0.1:38332 \ | ||
--data-dir /var/lib/ord \ | ||
--max-index-size 1TiB \ | ||
--network signet \ | ||
server \ | ||
--acme-cache /var/lib/ord/acme-cache \ | ||
--acme-contact mailto:[email protected] \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,13 +21,19 @@ install-dev-deps: | |
cargo install cargo-criterion | ||
|
||
deploy branch='master': | ||
ssh [email protected] mkdir -p deploy | ||
ssh [email protected] "mkdir -p deploy \ | ||
&& apt-get update --yes \ | ||
&& apt-get upgrade --yes \ | ||
&& apt-get install --yes git rsync" | ||
rsync -avz deploy/checkout [email protected]:deploy/checkout | ||
ssh [email protected] 'cd deploy && ./checkout {{branch}}' | ||
|
||
log: | ||
log-ord: | ||
ssh [email protected] 'journalctl -fu ord' | ||
|
||
log-bitcoind: | ||
ssh [email protected] 'journalctl -fu bitcoind' | ||
|
||
test-deploy: | ||
ssh-keygen -f ~/.ssh/known_hosts -R 192.168.56.4 | ||
vagrant up | ||
|