mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-04 23:30:17 +00:00
35209b5e0c
* Set ceramic host per env * Set ceramic url with glaze
10 lines
285 B
Plaintext
10 lines
285 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
if [[ -z $CERAMIC_HOST ]]; then
|
|
echo "\$CERAMIC_HOST is unset. Skipping ceramic CLI initialization"
|
|
else
|
|
echo "Setting ceramic url to to $CERAMIC_HOST"
|
|
ceramic config set ceramicHost "$CERAMIC_HOST"
|
|
glaze config:set ceramic-url "$CERAMIC_HOST"
|
|
fi
|