No description
app | ||
src | ||
test | ||
.gitignore | ||
compile.sh | ||
Dockerfile | ||
LICENSE | ||
mklink.sh | ||
README.md | ||
Setup.hs | ||
stack-ghcjs.yaml | ||
stack.yaml | ||
start.sh | ||
wse.cabal |
Stack Transient Repository
This is a stack project which implement this example Transient project:
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
-
Install
stack
curl -sSL https://get.haskellstack.org/ | sh
-
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
-
Compile the example
stack build stack --stack-yaml stack-ghcjs.yaml build
-
Link the result of the GHCJS compilation in the right directory
./mklink.sh
-
Start the server
./start.sh
-
Open http://localhost:3000 in many different web browsers and play.