mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
master
This commit is contained in:
parent
ca96fa1deb
commit
a827602fa5
@ -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"]
|
||||
|
12
devbox.json
12
devbox.json
@ -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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
19
mprocs.yaml
19
mprocs.yaml
@ -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"
|
Loading…
x
Reference in New Issue
Block a user