Skip to content
EugeneN edited this page Feb 22, 2016 · 2 revisions

Build from source

Run this in a shell:

$ git clone https://github.com/EugeneN/twic.git
$ cd twic
$ cd src/UI/HTTP/cs && npm install && bower install && grunt && cd -
$ stack setup
$ stack install

or the hard way:

$ cabal sandbox init
$ cabal install --only-dependencies
$ cd src/UI/HTTP/cs && npm install && bower install && grunt && cd -
$ cabal build

Provide your auth details using this instrunction: https://github.com/EugeneN/twic/wiki/Quick-start#how-to-configure-and-run-twic

Run:

$ stack run twic serve

or, if built with cabal:

$ ./dist/build/twic/twic serve

Go to http://localhost:3000/

Clone this wiki locally