added build instructions in readme

This commit is contained in:
Jack Wines 2023-03-13 20:32:37 -07:00
parent 8cc90780d5
commit 9a8f4ac092

View file

@ -1 +1,12 @@
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.
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
```
* go to localhost:8080