Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 769 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 769 Bytes

To compile targets in defined in hserve.cabal file:

    cabal build

To run the server:

    cabal run

The server will start at http://localhost:3000

To run the program in interactive mode (ghci with all the modules and libraries loaded):

    cabal repl

Possible errors

If port 3000 is already being used on your machine, please change the server port in Config.hs

    port = "<NEW_PORT>"

Required library: defined in hserve.cabal