upload update-0.1.x.md preview

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2020-08-14 10:04:49 +02:00
parent f4a514cb67
commit 41f855d9c4

View File

@ -8,14 +8,48 @@ git pull
sudo service moonraker restart
```
create a new file ~/moonraker.conf
```editorconfig
[server]
host: 0.0.0.0
config_path: ~/klipper_config
[authorization]
enabled: true
trusted_clients:
192.168.0.0/24
```
## Update Klipper
```
cd ~/klipper
git fetch arksine
git checkout arksine/dev-moonraker-testing
sudo service klipper restart
git fetch
git checkout origin/master
```
### Move klipper config files to the subdirectory
create the new subdirectory andmove `printer.cfg` in `~/klipper_config`:
```
mkdir ~/klipper_config/
mv ~/printer.cfg ~/klipper_config/
```
move also included klipper config files to this directory.
### Change Klipper default printer.cfg location
edit file `/etc/default/klipper` and change `/home/pi/printer.cfg`to `/home/pi/klipper_config/printer.cfg`.
### Modify printer.cfg
now you have to remove the `[moonraker]` section from `~/klipper_config/printer.cfg` and check if there are the following sections in it:
```
[virtual_sdcard]
path: ~/sdcard
[pause_resume]
[display_status]
```
and rename `RESET_SD` in your cancel print macro to `SDCARD_RESET_FILE`.
## Update static files from Mainsail
```
rm -R ~/mainsail/*