readme changes to reflect new htmx instructions
This commit is contained in:
parent
fd52dfd3b1
commit
0e7f25e617
1 changed files with 7 additions and 6 deletions
13
README.md
13
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue