From 955557f411e495e39c9d579e57b1fc62cca8cfd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Mon, 18 Jun 2018 18:28:20 +0200 Subject: [PATCH] README: update the env var list --- README.md | 46 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 410034fc..48b1ba31 100644 --- a/README.md +++ b/README.md @@ -67,22 +67,40 @@ yarn dist ## Config (optional helpers) -### Create a .env file +### Environment variables -```bash -SENTRY_URL=... # Edit this line if you want to send errors to your sentry account - -API_BASE_URL=http://... # API base url, fallback to our API if not set - -DEBUG_DEVICE=0 # Setup device debug mode - -DEV_TOOLS_MODE=bottom # Developer tools position (used only in dev). Options: right, bottom, undocked, detach +(you can use a .env or export environment variables) -DEBUG=lwd*,-lwd:syncb # Filter debug output - -HIDE_DEV_WINDOW=0 # hide the dev window - -SKIP_ONBOARDING=1 # To skip the onboarding +```bash +DEV_TOOLS_MODE=bottom # devtools position Options: right, bottom, undocked, detach +HIDE_DEV_WINDOW=0 + +## flags for development purpose +DEBUG_DEVICE=1 +DEBUG_NETWORK=1 +DEBUG_COMMANDS=1 +DEBUG_DB=1 +DEBUG_ACTION=1 +DEBUG_TAB_KEY=1 +DEBUG_LIBCORE=1 +DEBUG_WS=1 +LEDGER_RESET_ALL=1 +LEDGER_DEBUG_ALL_LANGS=1 +SKIP_GENUINE=1 +SKIP_ONBOARDING=1 +SHOW_LEGACY_NEW_ACCOUNT=1 +HIGHLIGHT_I18N=1 + +## constants +GET_CALLS_TIMEOUT=30000 +GET_CALLS_RETRY=2 +SYNC_MAX_CONCURRENT=6 +SYNC_BOOT_DELAY=2000 +SYNC_ALL_INTERVAL=60000 +CHECK_APP_INTERVAL_WHEN_INVALID=600 +CHECK_APP_INTERVAL_WHEN_VALID=1200 +CHECK_UPDATE_DELAY=5000 +DEVICE_DISCONNECT_DEBOUNCE=500 ``` ### Launch storybook