- Install vagrant and virtualbox
- run
vagrant up, wait a long time - you now have a VirtualBox Ubuntu VM with the software running. The git repository is accessible from inside the VM as /home/vagrant/FabLabKasse.
Use vagrant rsync to sync the files from outside the VM into the VM. This is also automatically called by vagrant up (under certain conditions - once per VM boot?).
Use vagrant ssh to get a shell inside the VM. From there you can:
cat .xsession_errorsto see the output of the running kassenterminal instanceexport DISPLAY=:0, then you can run X applications like xtermsudo service nodm restartto restart the graphical session and FabLabKasse application
run_in_vagrant.sh will automate most of these steps for you. It runs rsync and then the GUI with dummy printserver and (if available) FAUCard emulator.
When changing install_debian.sh, don't forget to:
vagrant rsyncto sync your changes and thenvagrant provisionto run the modified code