8000 GitHub - pengxiaolong/sqlpad: Web-based SQL editor run in your own private cloud. Supports MySQL, Postgres, SQL Server, Vertica, Crate, Presto, and SAP HANA.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from sqlpad/sqlpad

Web-based SQL editor run in your own private cloud. Supports MySQL, Postgres, SQL Server, Vertica, Crate, Presto, and SAP HANA.

License

Notifications You must be signed in to change notification settings

pengxiaolong/sqlpad

 
 

Repository files navigation

SQLPad

Build Status

A web app for writing and running SQL queries and visualizing the results. Supports Postgres, MySQL, SQL Server, Crate, Vertica, and Presto. Written in Node.js.

SQLPad Query Editor

Installation, Usage, Screenshots

Visit project page at http://rickbergfalk.github.io/sqlpad/.

Using Docker Image

The docker image runs on port 3000 and uses /var/lib/sqlpad for the embedded database directory.

Some configuration is exposed via environment variables. See configItems.js for details on environment variables considered (envVar field).

See docker-validation folder for example docker-compose setup with SQL Server.

Heads up! Directory structure will be changing as things are refactored

Development

  • Clone/download repo
  • Install node 6 or later (nvm recommended)
  • Install npm5 via npm i npm -g
  • run npm start

At this point you should have both backend and front-end development servers running.

http://localhost:3000 serves react front-end in dev-mode http://localhost:3010 serves front-end compiled for production

Both front-end/back-end should auto-refresh/auto-reload on file change.

To build front-end production files run npm run build.

See wiki for additional development details and project information.

Databases

A docker-compose file is provided to provide a variety of SQL database services to develop and test against. To run these, first install docker and then run the following commands:

# Bring database containers up
docker-compose up
# To bring down
docker-compose down
# To remove dangling containers volumes etc
docker system prune

License

MIT

About

Web-based SQL editor run in your own private cloud. Supports MySQL, Postgres, SQL Server, Vertica, Crate, Presto, and SAP HANA.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.9%
  • CSS 6.0%
  • HTML 2.1%
0