readme changes to reflect new htmx instructions

This commit is contained in:
Jack Wines 2023-06-12 07:39:14 -07:00
parent fd52dfd3b1
commit 0e7f25e617

View file

@ -1,12 +1,13 @@
Allows someone to setup a quick poll decided by [ranked voting](https://en.wikipedia.org/wiki/Ranked_voting) (currently just [instant runoff](https://en.wikipedia.org/wiki/Instant-runoff_voting)). At the moment, there's a fully-functional backend and the beginnings of a new poll page on the frontend.
Allows someone to setup a quick poll decided by [ranked voting](https://en.wikipedia.org/wiki/Ranked_voting) (currently just [instant runoff](https://en.wikipedia.org/wiki/Instant-runoff_voting)).
To run:
* install [Haskell](https://www.haskell.org/ghcup/)
* install [Elm](https://guide.elm-lang.org/install/elm.html)
``` sh
cd client
elm make src/Main.elm --output static/main.js
cd ../server
cabal run
# assuming you manage ghc with ghcup
# if not, set ghc 9.4.5 by other means
ghcup install ghc 9.4.5
ghcup set ghc 9.4.5
cabal run rcv-site
```
* go to localhost:8080