This is a web frontend for Sproxy database.
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
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