2024-03-12 19:48:20 +00:00
## COMMON VARIABLES FOR ALL APPS
2024-02-21 21:37:06 +00:00
REQUIRED_SALEOR_VERSION = "^3.13"
2024-03-21 15:21:01 +00:00
# only sets port, the host is always 0.0.0.0 (listens to everything). Set this to docker-compose service name
2024-07-14 20:29:09 +00:00
APP_API_BASE_URL = "http://10.100.110.29:3000"
APP_IFRAME_BASE_URL = "http://10.100.110.29:3000"
APL = "File"
APL_URL = "./temp/apl.json"
2024-02-21 21:37:06 +00:00
LOG_LEVEL = "DEBUG"
2024-03-12 19:48:20 +00:00
## THESE VARIABLES ARE FOR SITEMAP-GENERATOR APP
2024-07-14 20:29:09 +00:00
CHANNEL_SLUG = "default-channel"
2024-03-06 15:42:04 +00:00
SITEMAP_TARGET_FOLDER = "./temp"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: ProductUpdate
SITEMAP_PRODUCT_TEMPLATE = "https://example.com/{product.category.slug}/{product.slug}"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: CategoryUpdate
SITEMAP_CATEGORY_TEMPLATE = "https://example.com/{category.slug}"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: CollectionUpdate
SITEMAP_COLLECTION_TEMPLATE = "https://example.com/collection/{collection.slug}"
# Available fields can be found in ./sitemap-generator/src/queries/event_subjects_updated.rs: PageUpdate
SITEMAP_PAGES_TEMPLATE = "https://example.com/{page.slug}"
2024-03-07 21:14:42 +00:00
# Without trailing "/"!
SITEMAP_INDEX_HOSTNAME = "https://example.com"
2024-07-14 20:29:09 +00:00
# Will be compared against API Url. App works only for single site, so registering a different api and webhooking could rewrite the whole sitemap. This prevents that
SITEMAP_ALLOWED_HOST = "http://localhost:8000/graphql/"
2024-03-12 19:48:20 +00:00
## THESE VARIABLES ARE FOR SIMPLE-PAYMENT-GATEWAY APP
2024-04-03 17:47:23 +00:00
#To see all possible options, check simple-payment-gateway/src/app:PaymentMethods
ACTIVE_PAYMENT_METHODS = "cod,cash,transfer"
2024-03-12 19:48:20 +00:00
# only SK,EN available :). Determines what language the gateway names will be in storefront
2024-04-03 17:47:23 +00:00
LOCALE = "Sk"
2024-03-18 17:52:05 +00:00
# uses https://crates.io/crates/iso_currency
CURRENCIES = "EUR"