Skip to content

A robot for generating questions at an oral exam in introductory programming.

Notifications You must be signed in to change notification settings

bjornregnell/muntabot

Repository files navigation

muntabot

Build Status

This single-page client-only web app is available for execution in your browser here:

https://cs.lth.se/pgk/muntabot

Developed using fantastic Scala 3 and Scala JS. Built using sbt and nodejs.

How to develop

  • Prerequisites: sbt, Node.js

  • Clone or download this repo on your machine.

  • While hacking type ~fastLinkJS in sbt and open/reload the dev/index-dev.html file in your browser

  • To avoid having to reload the page upon every change the vscode extension Live Server can be used to do this automatically. Install the extension in vscode and right-click dev/index-dev.html and click Open with Live Server after running ~fastLinkJS in sbt.

How to deploy

When an update is ready for production, use this script:

sbt "clean;fullLinkJS"
cp target/scala-3.4.2/muntabot-opt/main.js public/.

and upload the contents of the public folder to your webserver including the files main.js, index.html and style.css.

To test before uploading to production you can install the vscode extension Live Server and right-click public/index.html and click Open with Live Server.

About

A robot for generating questions at an oral exam in introductory programming.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages