Skip to content

zalora/sproxy-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sproxy Web

This is a web frontend for Sproxy database.

Requirements

Sproxy Web is written in Haskell with GHC. All required Haskell libraries are listed in sproxy-web.cabal. Use cabal-install to fetch and build all pre-requisites automatically.

Installation

$ git clone https://github.com/zalora/sproxy-web.git
$ cd sproxy-web
$ cabal install

Usage

Type sproxy-web --help to see usage summary:

Usage:
  sproxy-web [options]

Options:

  -c, --connstr=CONNSTR    PostgreSQL connection string [default: dbname=sproxy]
  -d, --datadir=DIR        Data directory including static files [default: <cabal data dir>]

  -s, --socket=SOCK        Listen on this UNIX socket [default: /tmp/sproxy-web.sock]
  -p, --port=PORT          Instead of UNIX socket, listen on this TCP port (localhost)

  -h, --help               Show this message