From 0e7f25e617e25b9ac05965dcaf215dc77fd1d37c Mon Sep 17 00:00:00 2001 From: Jack Wines Date: Mon, 12 Jun 2023 07:39:14 -0700 Subject: [PATCH] readme changes to reflect new htmx instructions --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8e00c39..b30363d 100644 --- a/README.md +++ b/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