Skip to content

ashuchow/metabase_manager

 
 

Repository files navigation

Metabase Manager

Metabase Manager is a tool that helps you synchronize your Metabase instances. You can copy question cards from source instances to destination instances with ease.

image

License GitHub issues GitHub pull requests GitHub forks GitHub stars

Table of Contents

Features

  • Add and manage multiple source and destination instances
  • Copy question cards between instances
  • Synchronize instances with ease

Preview

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/coronasafe/metabase_manager.git
  1. Change the current directory to the project root:
cd metabase_manager
  1. Install dependencies:
npm install
  1. Generate the Prisma client:
npx prisma generate
  1. Perform an initial migration:
npx prisma migrate deploy

Usage

  1. Start the development server:
npm run dev
  1. Open your browser and navigate to http://localhost:3000 to view the application.

  2. Add source and destination instances as needed.

  3. Copy question cards between instances.

Docker Deployment

  1. Make sure you have Docker and Docker Compose installed on your system.

  2. Clone the repository:

git clone https://github.com/coronasafe/metabase_manager.git
  1. Change the current directory to the project root:
cd metabase_manager
  1. Run the docker-compose build command to build the images for the services defined in the docker-compose file.
docker-compose -f docker-compose.yaml build
  1. Once the images are built, you can start the services using the docker-compose up command.
docker-compose -f docker-compose.yaml up -d
  1. Open your browser and navigate to http://localhost:3000 to view the application.

Scripts

  • dev: Start the development server
  • prod: Lint, build, and start the production server
  • build: Build the application using Vite
  • server: Start the server using ts-node
  • server:prod: Start the production server using ts-node and cross-env
  • lint: Lint the project with ESLint

Contributing

  1. Fork the project.
  2. Create a new branch for your feature.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Create a pull request to the main branch.

License

This project is licensed under the MIT License.

About

Navigation and Authorisation changes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.8%
  • Other 2.2%