- 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_errors
to see the output of the running kassenterminal instanceexport DISPLAY=:0
, then you can run X applications like xtermsudo service nodm restart
to 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 rsync
to sync your changes and thenvagrant provision
to run the modified code