mirror of
				https://github.com/mkuf/prind.git
				synced 2025-10-31 02:16:06 +01:00 
			
		
		
		
	docs: add klipperscreen to readme
This commit is contained in:
		
				
					committed by
					
						 Markus Küffner
						Markus Küffner
					
				
			
			
				
	
			
			
			
						parent
						
							be539c7dd4
						
					
				
				
					commit
					c161b48582
				
			
							
								
								
									
										28
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,10 +1,10 @@ | |||||||
| [](https://github.com/mkuf/prind/actions/workflows/klipper.yaml) | [](https://github.com/mkuf/prind/actions/workflows/klipper.yaml) | ||||||
| [](https://github.com/mkuf/prind/actions/workflows/moonraker.yaml) | [](https://github.com/mkuf/prind/actions/workflows/moonraker.yaml) | ||||||
| [](https://github.com/mkuf/prind/actions/workflows/mainsail.yaml) | [](https://github.com/mkuf/prind/actions/workflows/mainsail.yaml) | ||||||
|  | [](https://github.com/mkuf/prind/actions/workflows/klipperscreen.yaml) | ||||||
| [](https://github.com/mkuf/prind/actions/workflows/ustreamer.yaml) | [](https://github.com/mkuf/prind/actions/workflows/ustreamer.yaml) | ||||||
|  |  | ||||||
| # prind | # prind | ||||||
|  |  | ||||||
| prind allows you to run the Software for your 3D Printer in Docker containers.   | prind allows you to run the Software for your 3D Printer in Docker containers.   | ||||||
| With a single Command, you can start up klipper and choose between multiple Webfrontends.  | With a single Command, you can start up klipper and choose between multiple Webfrontends.  | ||||||
|  |  | ||||||
| @@ -15,17 +15,14 @@ Currently supported Frontends: | |||||||
|  |  | ||||||
| Depending on which Frontend you've chosen, moonraker will also be deployed. | Depending on which Frontend you've chosen, moonraker will also be deployed. | ||||||
|  |  | ||||||
|  |  | ||||||
| ## Getting started | ## Getting started | ||||||
|  | The following Guide requires ``docker`` and ``docker compose`` on your machine.   | ||||||
| The following Guide require ``docker`` and ``docker compose`` on your machine.   |  | ||||||
| Follow the official Guides on how to get them up and running.  | Follow the official Guides on how to get them up and running.  | ||||||
| * https://docs.docker.com/engine/install/ubuntu/ | * https://docs.docker.com/engine/install/ubuntu/ | ||||||
| * https://docs.docker.com/compose/cli-command/#installing-compose-v2 | * https://docs.docker.com/compose/cli-command/#installing-compose-v2 | ||||||
|  |  | ||||||
|  |  | ||||||
| ### Add your Configuration to docker-compose.override.yaml | ### Add your Configuration to docker-compose.override.yaml | ||||||
|  |  | ||||||
| Locate the ``klipper`` Service within ``docker-compose.override.yaml`` and update the ``device`` Section with the Serial Port of your Printer.   | Locate the ``klipper`` Service within ``docker-compose.override.yaml`` and update the ``device`` Section with the Serial Port of your Printer.   | ||||||
| In this example, the Printer is using device ``/dev/ttymxc3``. | In this example, the Printer is using device ``/dev/ttymxc3``. | ||||||
| ```yaml | ```yaml | ||||||
| @@ -51,13 +48,11 @@ In this example, the Webcam is using device ``/dev/video0``. Do not edit any oth | |||||||
|  |  | ||||||
|  |  | ||||||
| ### Configuring Klipper/Moonraker | ### Configuring Klipper/Moonraker | ||||||
|  |  | ||||||
| All Runtime Configs are stored within ``config`` of this Repo.   | All Runtime Configs are stored within ``config`` of this Repo.   | ||||||
| * Update config/printer.cfg with your Klipper config, make sure to not remove the existing Macros as they are required by fluidd/mainsail. See [Klipper3d Docs](https://www.klipper3d.org/Config_Reference.html) for Reference | * Update config/printer.cfg with your Klipper config, make sure to not remove the existing Macros as they are required by fluidd/mainsail. See [Klipper3d Docs](https://www.klipper3d.org/Config_Reference.html) for Reference | ||||||
| * Make sure to update ``cors_domains`` and ``trusted_clients`` within ``moonraker.cfg`` to secure your moonraker api from unwanted access. See [Moonraker Docs](https://moonraker.readthedocs.io/en/latest/configuration/) for Reference | * Make sure to update ``cors_domains`` and ``trusted_clients`` within ``moonraker.cfg`` to secure your moonraker api from unwanted access. See [Moonraker Docs](https://moonraker.readthedocs.io/en/latest/configuration/) for Reference | ||||||
|  |  | ||||||
| ### Starting the stack | ### Starting the stack | ||||||
|  |  | ||||||
| Currently, there are 3 Profiles to choose from, depending on the Web Frontend you'd like to use. | Currently, there are 3 Profiles to choose from, depending on the Web Frontend you'd like to use. | ||||||
| * fluidd | * fluidd | ||||||
| * mainsail | * mainsail | ||||||
| @@ -80,6 +75,24 @@ docker compose --profile fluidd down | |||||||
| docker compose --profile mainsail up -d | docker compose --profile mainsail up -d | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | ### KlipperScreen | ||||||
|  | KlipperScreen can be run from within a Docker Container.   | ||||||
|  | It requires you to set up a X11 Server on your machine that the Container can connect to.   | ||||||
|  |  | ||||||
|  | Locate the setup Script for X11 within `scripts/` and run it as root. | ||||||
|  | It creates a User, installs and configures X11 and creates a Systemd Service for xinit. | ||||||
|  | ``` | ||||||
|  | ./scripts/setup-X11.sh | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | Xterm should now be displayed on your screen.   | ||||||
|  | If this is not the case, check the scripts output for errors.   | ||||||
|  | Otherwise, proceed to start/update the Stack. | ||||||
|  |  | ||||||
|  | ``` | ||||||
|  | docker compose --profile fluidd --profile klipperscreen up -d | ||||||
|  | ``` | ||||||
|  |  | ||||||
| ## Updating | ## Updating | ||||||
| Images are built daily and tagged with nightly and the first seven chars of the commit-sha of the remote repo.  | Images are built daily and tagged with nightly and the first seven chars of the commit-sha of the remote repo.  | ||||||
| Example:  | Example:  | ||||||
| @@ -98,7 +111,6 @@ docker compose pull | |||||||
| docker compose --profile <profile> up -d | docker compose --profile <profile> up -d | ||||||
| ```  | ```  | ||||||
|  |  | ||||||
|  |  | ||||||
| ## Advanced Topics | ## Advanced Topics | ||||||
| ### Change Execution Options | ### Change Execution Options | ||||||
| The Entrypoint for all Docker Images within this Repo are the actual Applications, which are run at container execution time.   | The Entrypoint for all Docker Images within this Repo are the actual Applications, which are run at container execution time.   | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user