Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 856 Bytes

File metadata and controls

37 lines (26 loc) · 856 Bytes

ClickHouse Playground UI

A simple web application that allows people to interact with ClickHouse by running arbitrary SQL queries on arbitrary ClickHouse version.

Available at fiddle.clickhouse.com.

The back-end engine lives alongside this application in the repository root.

Running Locally

From the repository root:

cd ui

Install dependencies and start the development server:

npm install
npm start

Running via Docker

Build a Docker image:

# Address of the backend API
export API_URL='https://fiddle.clickhouse.com/api/'

docker build --build-arg API_URL="$API_URL" -t clickhouse/clickhouse-fiddle-ui ./ui

Run a container based on the built image:

docker run -d -p 9090:80 clickhouse/clickhouse-fiddle-ui

Now the webapp is available on localhost:9090.