No description
Find a file
2016-01-04 17:26:24 +01:00
app initial commit 2016-01-01 21:54:10 +01:00
src/Bug initial commit 2016-01-01 21:54:10 +01:00
ui fix ghjs url 2016-01-02 23:50:53 +01:00
.gitignore initial commit 2016-01-01 21:54:10 +01:00
bug.cabal be able to use the correct servant branch :( 2016-01-04 17:26:24 +01:00
launch.sh be able to use the correct servant branch :( 2016-01-04 17:26:24 +01:00
LICENSE initial commit 2016-01-01 21:54:10 +01:00
README.md fix readme 2016-01-01 21:59:08 +01:00
Setup.hs initial commit 2016-01-01 21:54:10 +01:00
stack.yaml initial commit 2016-01-01 21:54:10 +01:00

INSTALL

cd .../projects/
git clone https://github.com/haskell-servant/servant.git

If you want to be certain to use a working version you could.

git checkout 5e215cef6834575c59354d5b1f1cce4d47f9aaa0

Then clone this project in the same directory:

cd .../projects/

Develop

To launch the server:

./launch.sh.

You might need to install live-reload (npm install live-reload) for basic live recompilation and reload. If this is the first time, it might take a long time.

Once finished you can verify everything worked fine here:

Organization:

  • src/ contains servant code.
  • ui/ directory contains the frontend code.
  • ui/assets/ contains the HTML, CSS and JS.
  • ui/app/ contains the Haskell code that will be compiled to JS via GHCJS
  • ui/src/ contains the Haskell code that will be compiled to JS via GHCJS