Skip to content

Latest commit

 

History

History
executable file
·
32 lines (21 loc) · 619 Bytes

File metadata and controls

executable file
·
32 lines (21 loc) · 619 Bytes

cortex-app

fontend for the cortex app

Dev setup:

  1. Create .env.local in the repo root with:
VITE_GA_MEASUREMENT_ID=G-XXXXXXXXXX
  1. Run the app:
npm run dev
  1. For a production check:
npm run build
npm run preview

Analytics setup:

  • GA4 is integrated in the root Vite app, not in cortex-web-app
  • The measurement ID is read from VITE_GA_MEASUREMENT_ID
  • Do not commit real GA keys; keep them in .env.local

To update backend url, change the url here: assets/js/services/config.js