more stuff

This commit is contained in:
zramsay 2025-01-09 13:17:11 -05:00
parent b44bca96ac
commit 7ddbb8da04
2 changed files with 31 additions and 0 deletions

23
build-webapp.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
PKG_DIR="./"
OUTPUT_DIR="${PKG_DIR}/dist"
DEST_DIR=${1:-/data}
if [[ -d "$DEST_DIR" ]]; then
echo "${DEST_DIR} already exists." 1>&2
exit 1
fi
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
npm install -g @cerc-io/laconic-registry-cli
npm run build
if [[ ! -d "$OUTPUT_DIR" ]]; then
echo "Missing output directory: $OUTPUT_DIR" 1>&2
exit 1
fi
mv "$OUTPUT_DIR" "$DEST_DIR"

8
config.yml Normal file
View File

@ -0,0 +1,8 @@
services:
registry:
rpcEndpoint: https://laconicd-sapo.laconic.com
gqlEndpoint: https://laconicd-sapo.laconic.com/api
userKey:
bondId:
chainId: laconic-testnet-2
gasPrice: 0.001alnt