Simple web application that, given a list of people, schedules a task that should be executed in pairs. Includes a dashboard to show the people currently assigned to the task.
- Create a Team: Navigate to
<your-host>:3000/
and click onNew team
. Follow the instructions. - Show Dashboard: Navigate to
<your-host>:3000/web/team/<Your team name>
- Install Docker. Instructions here
- Pull image
afcastano/hs-cafe-duty
from DockerHub - Run
docker run --rm -p 3000:3000 -v ${LOCAL_DB_PATH}:/cafe-duty/db afcastano/hs-cafe-duty
- Navigate to http://localhost:3000
- This is a Haskell application. You need to install stack.
- First time usage:
stack setup
- build:
stack build
- run:
./run.sh
- ghci:
stack ghci
- To create a docker image to deploy:
docker build -t afcastano/hs-cafe-duty:latest .
this will create the image afcastano/hs-cafe-duty - to run the image:
docker run --rm -p 3000:3000 -v ${LOCAL_DB_PATH}:/cafe-duty/db afcastano/hs-cafe-duty
- The scheduling algorithm is based on this and this
- The app does not use any database. Just plain json files.
- There is no security enabled in the app. Anyone can complete the task and assign new people.
Contact me for instructions.