feat: add local IPFS bootstrap script and refactor devbox config

This commit is contained in:
Prad Nukala
2024-09-26 14:51:14 -04:00
parent a190e1eac6
commit 6df798f458
23 changed files with 590 additions and 324 deletions
+1 -11
View File
@@ -297,7 +297,7 @@ sh-testnet: mod-tidy
### templ & vault ###
###############################################################################
.PHONY: dwn motr xcaddy ipfs-cluster-start
.PHONY: dwn motr templ
dwn:
@echo "(dwn) Building dwn.wasm -> IPFS Vault"
@@ -313,16 +313,6 @@ pkl:
go run github.com/apple/pkl-go/cmd/pkl-gen-go ./config/pkl/dwn.pkl
go run github.com/apple/pkl-go/cmd/pkl-gen-go ./config/pkl/orm.pkl
air:
@echo "(air) Building air"
go install github.com/air-verse/air@latest
air -c ./deploy/air.toml
ipfs:
@echo "(ipfs) Starting ipfs-cluster"
ipfs-cluster-service init --consensus crdt
ipfs-cluster-service daemon
###############################################################################
### help ###
###############################################################################