Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1 KB

INSTALL.md

File metadata and controls

34 lines (20 loc) · 1 KB

Docker

These instructions are tailored towards running the photobooth in a docker container, using a dummy camera and pyqt pdf for printing.

Configure host system

Install docker. (I let you decide how you want to do that ^^)

Setup xserver

For linux based hosts, you are fine. For mac based hosts, follow this using XQuartz: https://gist.github.com/sorny/969fe55d85c9b0035b0109a31cbcb088 For windows based hosts, help yourself ;)

Start container

You might need to adjust the ENV variable DISPLAY according to your setup.

export DISPLAY=<your_settings|:0>
docker compose up --build

--build flag is useful for development :)

Configure Dockerfile

Provide a build arg to the docker compose command --build-arg='autostart.sh' or --build-arg='autostart.sh' to choose the start script.

Replace the CMD with CMD ["sleep", "infinity"] for debugging.

PyQT 5 vs 6

As long as there is no proper way to setup a ubuntu docker image with pyqt6, pyqt5 is used, which requires Pillow==9.