To run locally, you must first spin up the WebSocket raffle server that communicates with the front-end (this repository).
docker run synon/raffler-server -p 8000:8080
npm start
The raffler should now be available at http://localhost:3000
.
- At the site root, you'll find the host screen.
- Start a raffle by entering the "host key" (
admin
by default) - Players can now join at
/join
with the randomly generated 4 digit join code. - When enough players have joined, press
[SPACE]
to pick a winner. - You can pick winners indefinitely, the raffle pool will stay open until you close the tab or refresh.