testnet-laconicd-stack/stack-orchestrator/config/laconic-shopify/start-shopify.sh
2024-10-28 12:56:29 +05:30

19 lines
469 B
Bash
Executable File

#!/bin/bash
set -e
set -u
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
set -x
fi
echo "Shopify shop name: $CERC_SHOPIFY_SHOP_NAME"
echo "Shopify access token: $CERC_SHOPIFY_ACCESS_TOKEN"
echo "Fetch order delay: $CERC_FETCH_ORDER_DELAY"
echo "Faucet URL: $CERC_FAUCET_URL"
export SHOPIFY_SHOP_NAME=$CERC_SHOPIFY_SHOP_NAME
export SHOPIFY_ACCESS_TOKEN=$CERC_SHOPIFY_ACCESS_TOKEN
export FETCH_ORDER_DELAY=$CERC_FETCH_ORDER_DELAY
export FAUCET_URL=$CERC_FAUCET_URL
yarn start