From 797eb80ec1ca3352986a8c07ad235e52f48a7720 Mon Sep 17 00:00:00 2001 From: Maxime Augier Date: Sun, 16 Feb 2025 01:21:45 +0100 Subject: [PATCH] Dockerize, typos --- Dockerfile | 2 ++ README.md | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aee4484 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM node:20 +EXPOSE 3000 diff --git a/README.md b/README.md index bdff664..09bf5de 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,10 @@ npm install PASSWORD=my_admin_password node index.js ``` -Point your students to the root URL +Point your students to the root URL. -Go to `/login` to login with the admin password -Go to `/choices` to start a poll (admin only) +Go to `/login` to login with the admin password. -Going to /#abstain will skip the vote and go straight to the results. +Go to `/choices` to start a poll (admin only). + +Going to `/#abstain` will skip the vote and go straight to the results.