You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sasha Aliashkevich 22ee28a979 adding ico file for windows 3 年之前
css Option for echoing queries in rendered output 3 年之前
driver libpq driver relink for linux 4 年之前
examples example change 3 年之前
fonts pgtabs is going public 4 年之前
src password dialog fix: https://github.com/sasha-alias/sqltabs/issues/73 3 年之前
.gitignore raise notices; about; readme change 4 年之前
.npmrc upgrade to latest Electron version (1.4.7) 3 年之前
LICENSE prepare for open source 4 年之前
README.md Javascript Postgres binding instead of libpq 3 年之前
index.html self contained build for mac 4 年之前
libpq_build.sh libpq_build; linux catchup 4 年之前
linux_build.sh initial window size quickfix; build scripts adjustments 3 年之前
logo.icns logo icon 4 年之前
logo.ico adding ico file for windows 3 年之前
logo.png logo icon 4 年之前
mac_build.sh initial window size quickfix; build scripts adjustments 3 年之前
main.js upgrade to latest Electron version (1.4.7) 3 年之前
minify.sh build scripts update 4 年之前
package.json 0.14.1 3 年之前
package.sh global dev dependencies to local 4 年之前
relink_linux.sh libpq driver relink for linux 4 年之前
relink_mac.sh libpq driver relink for linux 4 年之前
sqltabs.png rename to sqltabs 4 年之前

README.md

SQL Tabs

Rich SQL console for Postgresql. Home www.sqltabs.com

Building

In order to run SQL Tabs from source code follow the next steps: (In case of any issues please report them here)

  1. Install npm - a javascript package manager

  2. Install electron - a runtime environment for application (version is important):

     npm install electron-prebuilt@1.4.7 -g
    
  3. Install React javascript extension the application is written with:

     npm install -g react-tools
    
  4. Get the code, install dependencies and build the application:

     git clone https://github.com/sasha-alias/sqltabs
     cd sqltabs
     npm install
    
  5. Run the application:

     electron .
    

When you make changes in the source code under src/ directory it's enough to rebuild only application with the command:

    jsx src/ build/

During the development it's convenient to have launched in the separate session the following:

    jsx --watch src/ build/

Thus you can skip a manual rebuild. The code will be rebuilt automatically on changes.

Contributions are welcome.