https://github.com/ohcnetwork/metabase_manager
Use Metabase Manager to synchronize your Metabase instance. You can copy question cards from the source instances to destination instances.
https://github.com/ohcnetwork/metabase_manager
Last synced: about 1 year ago
JSON representation
Use Metabase Manager to synchronize your Metabase instance. You can copy question cards from the source instances to destination instances.
- Host: GitHub
- URL: https://github.com/ohcnetwork/metabase_manager
- Owner: ohcnetwork
- License: mit
- Created: 2023-07-06T05:17:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T13:53:26.000Z (almost 2 years ago)
- Last Synced: 2025-04-09T03:15:41.031Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 447 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.






## Table of Contents
- [Features](#features)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Docker Deployment](#docker)
- [Scripts](#scripts)
- [Contributing](#contributing)
- [License](#license)
## Features
- Add and manage multiple source and destination instances
- Copy question cards between instances
- Synchronize instances with ease
## Preview
## Prerequisites
- [Node.js](https://nodejs.org/) v18+
- [npm](https://www.npmjs.com/) v9+
## Installation
1. Clone the repository:
```bash
git clone https://github.com/coronasafe/metabase_manager.git
```
2. Change the current directory to the project root:
```bash
cd metabase_manager
```
3. Install dependencies:
```bash
npm install
```
4. Generate the Prisma client:
```bash
npx prisma generate
```
5. Perform an initial migration:
```bash
npx prisma migrate deploy
```
## Usage
1. Start the development server:
```bash
npm run dev
```
2. Open your browser and navigate to `http://localhost:3000` to view the application.
3. Add source and destination instances as needed.
4. Copy question cards between instances.
# Docker Deployment
1. Make sure you have Docker and Docker Compose installed on your system.
2. Clone the repository:
```bash
git clone https://github.com/coronasafe/metabase_manager.git
```
3. Change the current directory to the project root:
```bash
cd metabase_manager
```
4. Run the `docker-compose build` command to build the images for the services defined in the `docker-compose` file.
```bash
docker-compose -f docker-compose.yaml build
```
5. Once the images are built, you can start the services using the docker-compose up command.
```bash
docker-compose -f docker-compose.yaml up -d
```
6. 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](LICENSE).