No description
Find a file
2016-10-02 22:35:09 +02:00
app upgraded + very lighweight modification 2016-10-02 22:35:09 +02:00
src upgraded + very lighweight modification 2016-10-02 22:35:09 +02:00
test initial commit 2016-08-10 20:48:38 +02:00
.gitignore initial commit 2016-08-10 20:48:38 +02:00
compile.sh docker integration 2016-09-19 15:18:46 +02:00
Dockerfile docker integration 2016-09-19 15:18:46 +02:00
LICENSE initial commit 2016-08-10 20:48:38 +02:00
mklink.sh initial commit 2016-08-10 20:48:38 +02:00
README.md made an unique compilation step 2016-08-11 15:39:04 +02:00
Setup.hs initial commit 2016-08-10 20:48:38 +02:00
stack-ghcjs.yaml upgraded + very lighweight modification 2016-10-02 22:35:09 +02:00
stack.yaml upgraded + very lighweight modification 2016-10-02 22:35:09 +02:00
start.sh progress 2016-09-26 13:56:23 +02:00
wse.cabal stateful website 2016-09-14 09:59:54 +02:00

Stack Transient Repository

This is a stack project which implement this example Transient project:

see this thread on Reddit

Usage

Fastest

Just open a terminal and write all these commands. If this is the first time you use Haskell it will take a lot of time. Don't worry, once installed, calling compile.sh will be fast the next time.

git clone http://github.com/yogsototh/transient-example
cd transient-example
./compile.sh
./start.sh

Manually

  1. Install stack

    curl -sSL https://get.haskellstack.org/ | sh
    
  2. Install ghc and ghcjs with stack. If you never installed ghcjs that could take a lot of time.

    stack setup
    stack --stack-yaml stack-ghcjs.yaml setup
    
  3. Compile the example

    stack build
    stack --stack-yaml stack-ghcjs.yaml build
    
  4. Link the result of the GHCJS compilation in the right directory

    ./mklink.sh
    
  5. Start the server

    ./start.sh
    
  6. Open http://localhost:3000 in many different web browsers and play.