marialarsson / tsugite

This is the repository of a Tsugite. It is a research prototype of an interactive software that supports the design and fabrication of wood joints.
http://www.ma-la.com/tsugite.html
Other
423 stars 78 forks source link

Docker build #25

Open mskyttner opened 2 years ago

mskyttner commented 2 years ago

Adds a GitHub Action to automatically build a docker container with "softpipe" Mesa 3D rendering to allow the application to run without hardware acceleration (so rendering is slower) and adds a web UI which means that if docker is available the app can be launched with on Linux/Windows/Mac with docker using a single command "docker run --rm -p 8083:8083 ghcr.io/mskyttner/tsugite" and then accessed in browser at "http://localhost:8083"

mskyttner commented 2 years ago

screenshot-tsugite

katrinleinweber commented 2 years ago

This is great, thank you @mskyttner! I finally got tsugite to work on macOS for me :-)

mskyttner commented 2 years ago

@marialarsson thanks for sharing this research and code, and please feel free to merge this PR, it doesn't conflict with the core code as it adds GitHub Action and a container packaging which enables running on more platforms and hardware configurations. @katrinleinweber kindly reviewed the PR and I have fixed a few minor things based on her feedback, so it should be ready to go.