This is quiz, built with students of the GGS St. Jürgen school and the Buddenbrookhaus museum in Lübeck, Germany, for the exhibition "Herzensheimat".
The project is basically a website built using F#, Fable, Elmish and React. Don't ask why, at least I didn't put Electron on that list as well.
- dotnet SDK 2.0 or higher
- node.js 6.11 or higher
- yarn JS package manager
- mono on macOS/Linux to run paket
In the commands below, yarn is the tool of choice. If you want to use npm, just replace
yarn
bynpm
in the commands.
- run
yarn
(installs dependencies) - run
yarn start
(starts Fable daemon and Webpack dev server) - In your browser, open: http://localhost:8080/ . Any modification you do to the F# code will be reflected in the web page after saving.
For production:
- run
yarn build
and you'll get your frontend files ready for deployment in thebuild
directory.
Since Microsoft only offers a real kiosk mode on Windows >= Professional we had
to go a little different way. Killing explorer.exe to disable buttons and
gestures and using Chrome's kiosk mode does the job quite well. Our autostart
file is start.bat
.