Update README.md
This commit is contained in:
parent
25330a860b
commit
f66a2c3491
1 changed files with 18 additions and 18 deletions
36
README.md
36
README.md
|
@ -9,29 +9,29 @@ This is a stack project which implement this example Transient project:
|
|||
1. Install [`stack`](haskellstack.org)
|
||||
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
|
||||
~~~
|
||||
|
||||
~~~
|
||||
stack setup
|
||||
stack --stack-yaml stack-ghcjs.yaml setup
|
||||
~~~
|
||||
|
||||
3. Compile the example
|
||||
|
||||
~~~
|
||||
stack build
|
||||
stack --stack-yaml stack-ghcjs.yaml build
|
||||
~~~
|
||||
|
||||
~~~
|
||||
stack build
|
||||
stack --stack-yaml stack-ghcjs.yaml build
|
||||
~~~
|
||||
|
||||
4. Link the result of the GHCJS compilation in the right directory
|
||||
|
||||
~~~
|
||||
./mklink.sh
|
||||
~~~
|
||||
|
||||
~~~
|
||||
./mklink.sh
|
||||
~~~
|
||||
|
||||
5. Start the server
|
||||
|
||||
~~~
|
||||
./start.sh
|
||||
~~~
|
||||
|
||||
~~~
|
||||
./start.sh
|
||||
~~~
|
||||
|
||||
6. Open <http://localhost:3000> in many different web browsers and play.
|
||||
|
|
Loading…
Reference in a new issue