GitHub

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.

$ git clone https://github.com/zalora/sproxy-web.git
$ cd sproxy-web
$ cabal install
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

Read the original on github.com ↗