refactor: Deployment setup

This commit is contained in:
Prad Nukala
2024-11-26 11:44:17 -05:00
parent b9b868d55a
commit e89bbb05b1
11 changed files with 106 additions and 3545 deletions
+10 -19
View File
@@ -1,32 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"go@1.22",
"bun@latest",
"ipfs@latest",
"templ@latest",
"gum@latest"
],
"packages": ["go@1.22", "bun@latest", "gum@latest"],
"env": {
"GOPATH": "$HOME/go",
"PATH": "./build:$HOME/go/bin:$PATH",
"TEMPL_EXPERIMENT": "rawgo"
},
"shell": {
"init_hook": [
"./scripts/init_env.sh"
],
"scripts": {
"start-local": [
"cd deploy/local && devbox services up"
"deploy-buf": ["gum spin --title='Deploying buf' -- make deploy-buf"],
"deploy-cdn": [
"gum spin --title='Generating PKL' -- make pkl-gen",
"gum spin --title='Generating Styles' -- make styles-gen",
"gum spin --title='Building Motr WASM' -- make motr-build",
"gum spin --title='Uploading to Bucket' -- make deploy-cdn"
],
"start-testnet": [
"cd deploy/testnet && devbox services up"
],
"start-gex": [
"go install github.com/cosmos/gex@latest",
"gex"
]
"start-local": ["cd deploy/local && devbox services up"],
"start-testnet": ["cd deploy/testnet && devbox services up"],
"start-gex": ["go install github.com/cosmos/gex@latest", "gex"]
}
}
}