Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 07, 2024
    • Phoomparin Mano's avatar
      feat(sdk): CLI to bootstrap an embedding-ready Metabase instance (#46080) · 4ce37a25
      Phoomparin Mano authored
      
      * add setup commands
      
      * fix settings definition
      
      * update environment variables for cli
      
      * handle instances not being ready
      
      * update error messages
      
      * add more specific loading messages
      
      * loading spinner state
      
      * improve error message
      
      * use a fixed demo setup token
      
      * remove extraneous spinner
      
      * update status checks
      
      * update container messages
      
      * update wait timing
      
      * create api keys
      
      * extract constants
      
      * remove manual steps
      
      * Add anonymous tracking + other things. will need to clean up
      
      * Modify SDK for better structure
      
      * remove line from print.ts
      
      * Update webpack.embedding-sdk-cli.config.js back to production
      
      * Add types and add quick note
      
      * Fix a typo
      
      * Add index file, simplify types, use an array
      
      * Add safer json parsing
      
      * use delay of 100ms between each setup call
      
      * Suggestions from review
      
      * ensure that cli works
      
      * Attempt to fix jest errors
      
      * Remove node-fetch from sdk code to hopefully get unit tests working again
      
      * fix yarn.lock file
      
      * revert capture groups change
      
      ---------
      
      Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
      Unverified
      4ce37a25
  2. Jul 24, 2024
    • Phoomparin Mano's avatar
      feat(sdk): add CLI to download and start Metabase locally for better onboarding experience (#45784) · 3fe37391
      Phoomparin Mano authored
      * add webpack configuration for cli
      
      * add requirements checking
      
      * docker check
      
      * docker start command
      
      * port checks
      
      * add getting started steps
      
      * add final install message
      
      * cleanup cli text
      
      * handle force-closing prompt
      
      * build the cli when running build-embedding-sdk
      
      * wording updates
      
      * add redundant prompt in case of small terminals
      
      * remove redundant instruction
      
      * make sure the user confirms the step
      
      * change container name to metabase-enterprise-embedding
      
      * migrate cli to es modules instead of webpack
      
      * add shebang line for npx
      
      * add cli dependencies to devDependencies
      
      * Revert "add cli dependencies to devDependencies"
      
      This reverts commit 5d5e952c.
      
      * Revert "add shebang line for npx"
      
      This reverts commit 766fdda0.
      
      * Revert "migrate cli to es modules instead of webpack"
      
      This reverts commit 7d1b0651.
      Unverified
      3fe37391
Loading