How to install chartdb/chartdb. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
chartdb/chartdb Installation Guide
How to install chartdb/chartdb. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for chartdb/chartdb. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i chartdb/chartdbor
Install via npx
npx @hexmos/ipm i chartdb/chartdbPrerequisites
Node.js
languageVersion: >=16.0.0
npm
package_managerVersion: 8.14.3
Python
languagePostgreSQL
system_packageMySQL
system_packageVersion: 8.0.35
Docker
system_toolVersion: 20.10.1
Git
system_toolVersion: 2.38.1
Vite
build_toolVersion: 2.0.1
Fathom Analytics
serviceVersion: v1.0.0
Supabase
system_packageVersion: 2.0.0
ClickHouse
system_packageVersion: 1.4.0
CockroachDB
system_packageVersion: 2.0.0
AWS Account Access
knowledgeGitHub
serviceVersion: v1.0.0
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Local Development
git clone https://github.com/chartdb/chartdb.git
cd chartdb
npm install --non-interactive
npm run dev --non-interactiveProduction Build
git clone https://github.com/chartdb/chartdb.git
cd chartdb
npm install --non-interactive
npm run build --non-interactiveDocker Deployment (Pre-built with AI)
docker run -e OPENAI_API_KEY=<YOUR_OPEN_AI_KEY> -p 8080:80 ghcr.io/chartdb/chartdb:latestDocker Local Build and Run (with AI)
git clone https://github.com/chartdb/chartdb.git
cd chartdb
docker build -t chartdb .
docker run -e OPENAI_API_KEY=<YOUR_OPEN_AI_KEY> -p 8080:80 chartdbDocker Deployment (Custom Inference Server)
git clone https://github.com/chartdb/chartdb.git
cd chartdb
docker build --build-arg VITE_OPENAI_API_ENDPOINT=<YOUR_ENDPOINT> --build-arg VITE_LLM_MODEL_NAME=<YOUR_MODEL_NAME> -t chartdb .
docker run -e OPENAI_API_ENDPOINT=<YOUR_ENDPOINT> -e LLM_MODEL_NAME=<YOUR_MODEL_NAME> -p 8080:80 chartdbDocker Deployment (Pre-built without AI)
docker run -e DISABLE_ANALYTICS=true -p 8080:80 ghcr.io/chartdb/chartdb:latestDocker Local Build and Run (without AI)
git clone https://github.com/chartdb/chartdb.git
cd chartdb
docker build --build-arg VITE_DISABLE_ANALYTICS=true -t chartdb .
docker run -e DISABLE_ANALYTICS=true -p 8080:80 chartdbPost Installation Steps
- Open your browser and navigate to http://localhost:8080 (for Docker) or the URL provided by the Vite dev server.
- Select your database engine from the UI to obtain the 'Smart Query'.
- Run the query in your database manager to export your schema as JSON.
- Paste the resulting JSON into the ChartDB editor to visualize your schema.
