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)
-
Install npm - a javascript package manager
-
Install electron - a runtime environment for application (version is important):
npm install electron-prebuilt@0.27.3 -g
-
Install React javascript extension the application is written with:
npm install -g react-tools
-
For building postgresql driver
pg_config
is needed, so depending on your platform install:Ubuntu:
apt-get install libpq-dev
OSX:
brew install postgresql
-
Get the code, install dependencies and build the application:
git clone https://github.com/sasha-alias/sqltabs cd sqltabs export npm_config_disturl=https://atom.io/download/atom-shell export npm_config_target=0.27.3 export npm_config_arch=x64 export npm_config_runtime=electron npm install
-
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.