This commit is contained in:
Prad Nukala 2024-08-26 10:37:03 -04:00
parent ca96fa1deb
commit a827602fa5
3 changed files with 8 additions and 25 deletions

View File

@ -41,4 +41,4 @@ WORKDIR /opt
# rest server, tendermint p2p, tendermint rpc
EXPOSE 1317 26656 26657 6060
CMD ["/usr/bin/sonrd", "version"]
ENTRYPOINT ["/usr/bin/sonrd"]

View File

@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": ["mprocs@latest", "go@1.21"],
"packages": ["go@1.21"],
"env": {
"GOPATH": "$HOME/go",
"PATH": "$HOME/go/bin:$PATH"
@ -8,10 +8,12 @@
"shell": {
"scripts": {
"install": ["make install"],
"proto": ["make proto-gen"],
"build": ["go build -o ./bin/sonrd ./cmd/sonrd"],
"testnet": ["make sh-testnet"],
"serve": ["mprocs"]
"gen": ["make proto-gen"],
"build": [
"make local-image",
"docker tag sonr:local ghcr.io/onsonr/sonrd:latest"
],
"push": ["docker push ghcr.io/onsonr/sonrd:latest"]
}
}
}

View File

@ -1,19 +0,0 @@
# General
hide_keymap_window: true
proc_list_width: 20
keymap_procs:
<Enter>: { c: toggle-focus }
<Tab>: { c: toggle-focus }
<M-l>: { c: toggle-focus }
<C-a>: null
keymap_term:
reset: true
<M-h>: { c: toggle-focus } # Processes
procs:
⬓ editor:
cmd: ["nvim"]
⎋ gex:
shell: "gex"
autorestart: true
⎋ sonr:
shell: "make sh-testnet"