You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Yann Esposito (Yogsototh) 16039fdb1c
docker integration
5 years ago
app docker integration 5 years ago
src docker integration 5 years ago
test initial commit 5 years ago
.gitignore initial commit 5 years ago
Dockerfile docker integration 5 years ago
LICENSE initial commit 5 years ago
README.md made an unique compilation step 5 years ago
Setup.hs initial commit 5 years ago
compile.sh docker integration 5 years ago
mklink.sh initial commit 5 years ago
stack-ghcjs.yaml docker integration 5 years ago
stack.yaml docker integration 5 years ago
start.sh docker integration 5 years ago
wse.cabal stateful website 5 years ago

README.md

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.