Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LogicSoftInd/LSQ

Repository files navigation

Pronounced Less Q

Purpose

Here at Logic Soft, when a customer wants a temporary report, it is usually written in plain SQL and run on the client side. Since these are temporary in nature, they are either stored on the developer's machine or in some cases not stored at all.

But sometimes, there arises a situation where this query needs to be executed again and then we all go on a wild goose chase searching for the query.

The purpose of writing LSQ was to centralize such queries.

Requirements

  • MongoDB (2.4+)
  • Python (2.7)

Installation

  • Start the MongoDB daemon

     $ mongod 
    
  • Clone LSQ

     $ git clone git@github.com:logicsoftind/LSQ.git
    
  • Change to the directory

     $ cd LSQ
    
  • Set up a virtual environment and activate it

     $ virtualenv env
     $ source env/bin/activate
    
  • Install Python requirements

     $ pip install -r requirements.txt
    
  • Copy the config.py.sample to config.py and change as required

     $ cp config.py.sample config.py
     $ vim config.py
    
  • Run the app

     $ python app.py
    

Point your browser to http://localhost:<port> and you're good to go.

Screenshots

Landing page

Individual Query Page

Roadmap

  • Full Text Search
  • Query Execution
  • Version Control
  • Access Control

About

A simple system to host ad-hoc SQL queries written inside the company

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /