Environment Variables
Configuration for external services are managed via environment variables. For local development, create a file named .env.local in your project root and add the same values you've stored in Firebase Secret Manager.
ERPNext Credentials
# .env.local (for local development) ERPNEXT_BASE_URL="https://your-erpnext-domain.com" NEXT_PUBLIC_ERPNEXT_BASE_URL="https://your-erpnext-domain.com" ERPNEXT_API_KEY="your_erpnext_api_key" ERPNEXT_API_SECRET="your_erpnext_api_secret" NEXT_PUBLIC_ENV="dev"
Your current public ERP URL is displayed as: . The API Key and Secret are never exposed to the browser.
Shopify Credentials
# .env.local (for local development) SHOPIFY_STORE_URL="your-store-name.myshopify.com" SHOPIFY_ADMIN_ACCESS_TOKEN="shpat_..."
Danger Zone
This action is permanent and cannot be undone.