19 lines
469 B
Bash
Executable File
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 |