update docs

This commit is contained in:
alfrix committed 2024-05-01 15:37:16 -03:00
1 parent 135e1858a8
commit 2205fa1955
9 files changed
+41 -41

No files matched your search

+4 -22
View File
@@ -7,19 +7,9 @@ It's strongly recommended to test it and ensure your hardware is working with Ra
Once you have established that the screen is working, then proceed installing KlipperScreen.
## Setup
The installation script is meant for RaspberryOS Lite, but it should work on other debian derivatives.
[Click to learn how to check if you installed a desktop version](FAQ.md#how-to-check-if-you-have-a-desktop-environment)
If you installed a desktop (GUI version) of the OS and want to run KlipperScreen exclusively then do:
```sh title="Boot to console / KlipperScreen"
sudo systemctl set-default multi-user.target && sudo reboot
```
to undo and go back to the desktop environment:
```sh title="Boot to the desktop"
sudo systemctl set-default graphical.target && sudo reboot
```
## Auto install
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
@@ -31,27 +21,21 @@ You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn mor
## Manual Install
First install [Klipper](https://www.klipper3d.org/Installation.html) and [Moonraker](https://moonraker.readthedocs.io/en/latest/installation/).
### KlipperScreen Installation
Execute the following commands:
```sh
cd ~/
git clone https://github.com/KlipperScreen/KlipperScreen.git
cd ~/KlipperScreen
./scripts/KlipperScreen-install.sh
./KlipperScreen/scripts/KlipperScreen-install.sh
```
This script will install packages that are listed under manual install, create a python virtual environment at
This script will install the necessary packages, create a python virtual environment at
`~/.KlipperScreen-env` and install a systemd service file.
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
the location of your configuration file.
At this point KlipperScreen should be working, if it doesn't start then go to the [troubleshooting page](Troubleshooting.md)
## Moonraker configuration
In moonraker.conf ensure that the IP of the device is a trusted client:
@@ -61,10 +45,8 @@ In moonraker.conf ensure that the IP of the device is a trusted client:
trusted_clients:
127.0.0.1
```
!!! warning
having `force_logins: true` in this section or if you don't want to use `trusted_clients`
Will require the [moonraker api key](https://moonraker.readthedocs.io/en/latest/installation/#retrieving-the-api-key) in [KlipperScreen.conf](Configuration.md)
Or add the [moonraker api key](https://moonraker.readthedocs.io/en/latest/installation/#retrieving-the-api-key) to [KlipperScreen.conf](Configuration.md)
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block to `moonraker.conf`: