Skip to content

schinazi/sqltabs

 
 

Repository files navigation

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 [email protected] -g
    
  3. Install React javascript extension the application is written with:

     npm install -g react-tools
    
  4. For building postgresql driver pg_config is needed, so depending on your platform install:

    Ubuntu:

     apt-get install libpq-dev
    

    OSX:

     brew install postgresql
    
  5. 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
    
  6. 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.

About

Rich SQL console for Postrgesql.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 58.7%
  • JavaScript 40.9%
  • Other 0.4%