docs: Update Home Page and Setup Guides (#478)
* Update necessary-cfg for grammar and readability fixes * Update homepage for typos, grammar and readability * Update index.md in manual setup for readability * Update for readability and make editing moonraker.conf a sub-chapter * Update for readabiliy and grammar * Update for readability and grammar * Fix PR #478 with review feedback - fix Klipper pause / resume * Fix typo (missing s in preset) * Make call to action stronger, remove "it is" for "time to print!" * Improve readability on front page * Update Kiauh page for readability and gramma * Review and update Update guides for spelling, grammar, readabilty and localization * Review updates from yesterday and fix some errors from updating the docs * Apply feedback to fix typos for PR#478 Signed-off-by Paul Cutler paul@paulcutler.org
This commit is contained in:
1 parent
b6966f05ee
commit
a339cabc7d
12 files changed
+96
-84
No files matched your search
@@ -11,7 +11,7 @@ permalink: /configuration
|
||||
**Mainsail requires a minimum configuration to function properly and will display a warning at startup if the required parts are not found in your configuration file(s).**
|
||||
{: .warning}
|
||||
|
||||
The following configuration elements are mandatory and must be configured for Mainsail to operate:
|
||||
The following configuration elements are mandatory and must be configured for Mainsail to operate correctly:
|
||||
|
||||
* [Virtual SD Card](configuration#virtual_sdcard)
|
||||
* [Display Status](configuration#display_status)
|
||||
@@ -22,28 +22,28 @@ The following configuration elements are optional, including making tweaks and a
|
||||
* [Custom Commands](configuration#customisation)
|
||||
|
||||
## Virtual SD Card
|
||||
This allows gcode file uploads.
|
||||
The `Virtual SD Card` allows gcode file uploads.
|
||||
```yaml
|
||||
[virtual_sdcard]
|
||||
path: ~/gcode_files
|
||||
```
|
||||
|
||||
## Display Status
|
||||
This is required for messages in your status panel, if you don't have a `[display]` in your configuration.
|
||||
`Display Status` is required for messages in your status panel, if you don't have `[display]` in your configuration.
|
||||
```yaml
|
||||
[display_status]
|
||||
```
|
||||
|
||||
## Pause, Resume, Cancel
|
||||
This enables pause / resume in mainsail.
|
||||
These macros enable pause and resume in Klipper.
|
||||
|
||||
```yaml
|
||||
[pause_resume]
|
||||
```
|
||||
|
||||
# Macros
|
||||
## for pause / resume / cancel functionality
|
||||
These should be modified to your own needs.
|
||||
## Add pause / resume / cancel functionality
|
||||
You can modify the below macros to fit your needs.
|
||||
{% raw %}
|
||||
```yaml
|
||||
[gcode_macro PAUSE]
|
||||
@@ -118,12 +118,12 @@ gcode:
|
||||
# Optional
|
||||
|
||||
## Customisation
|
||||
Klipper has many canned/preset commands that are themselves just macros.
|
||||
Klipper has a number of preset commands that are also just macros.
|
||||
|
||||
The default configuration of these may not suit your needs or preferences, (though they are usually a good place to start). It's possible to adjust these by including them in your config, along with whatever code you would like to run.
|
||||
The default configuration of these may not suit your needs or preferences, though they are usually a good place to start. It's possible to adjust these by including them in your config, along with any additional code you would like to run.
|
||||
|
||||
## Example
|
||||
Adjusting the `BED_MESH_CALIBRATE` command (which can be run from the Sidebar > Heightmap > Calibrate.
|
||||
Adjusting the `BED_MESH_CALIBRATE` command, which is found in the menu at Sidebar > Heightmap > Calibrate.
|
||||
{% raw %}
|
||||
```yaml
|
||||
[gcode_macro BED_MESH_CALIBRATE]
|
||||
|
||||
+11
-11
@@ -6,7 +6,7 @@ has_children: false
|
||||
---
|
||||
|
||||
# Welcome to Mainsail!
|
||||
Mainsail aims to make Klipper more accessible to end users through a lightweight, responsive web ui, centred around an intuitive and consistent design philsophy.
|
||||
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy..
|
||||
{: .fs-5 }
|
||||
|
||||
[Getting Started](/setup){: .btn .btn-primary }
|
||||
@@ -17,30 +17,30 @@ Mainsail aims to make Klipper more accessible to end users through a lightweight
|
||||

|
||||
|
||||
## Features
|
||||
- Optimized for desktops, tablets and mobile devices
|
||||
- Responsive web interface, optimized for desktops, tablets and mobile devices
|
||||
- Supports multiple 3D printers (Printer Farm)
|
||||
- Localization (i18n)
|
||||
- File Manager (gcode and config files)
|
||||
- File Editor (gcode and config files)
|
||||
- Print History / Stats
|
||||
- Print History and Statistics
|
||||
- Temperature Presets (with custom gcode)
|
||||
- Bed Mesh Leveling
|
||||
- Multi-Webcam support
|
||||
- Control power devices (relays, TPLink, Tasmota, ..)
|
||||
- Customizable UI (logos, backgrounds & even custom css)
|
||||
- Control power devices such as relays, TPLink and Tasmota devices, and more
|
||||
- Customizable user interface including logos, backgrounds, and custom CSS
|
||||
|
||||
## Get support & assistance
|
||||
Do you need help or just want to talk? Join us on discord. We have a very active community.
|
||||
Have you found a bug? Then we would like you to create an Issue on GitHub.
|
||||
## Help and Support
|
||||
Do you need help or just want to talk? Join our active community on Discord.
|
||||
Have you found a bug? Please create an Issue in GitHub and let us know.
|
||||
|
||||
[Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"}
|
||||
[GitHub Issues](https://github.com/mainsail-crew/mainsail/issues){: .btn}{:target="_blank"}
|
||||
|
||||
## Support this project
|
||||
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
|
||||
## Support Mainsail
|
||||
Mainsail is primarily developed and maintained by `meteyou`. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support him:
|
||||
|
||||
- [Patreon (recurring)](https://patreon.com/meteyou){:target="_blank"}
|
||||
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail){:target="_blank"}
|
||||
|
||||
However, we would also like to ask you to support the regular contributors.
|
||||
Please also support all of our maintainers and contributors.
|
||||
{: .info}
|
||||
@@ -9,18 +9,17 @@ has_toc: false
|
||||
# Setup Guides
|
||||
|
||||
## Local installation
|
||||
Decide which route you want to follow for the installation. There are several ways to install Mainsail on a Raspberry Pi:
|
||||
You will need to choose which way you want to install Mainsail on a Raspberry Pi:
|
||||
|
||||
- [MainsailOS](mainsail-os.md) <span class="label label-red">recommended</span>
|
||||
A prebuilt image for your Raspberry Pi. Flash it and you are almost ready to go.
|
||||
A prebuilt image for your Raspberry Pi. Preconfigured and requires the least amount of setup.
|
||||
- [KIAUH](kiauh.md) - _Klipper Installation And Update Helper_
|
||||
A script toolbox to install and keep Klipper, Moonraker and Mainsail up to date. It contains many additional features and is the way to go for multiprinter setups.
|
||||
A script toolbox to install and update Klipper, Moonraker and Mainsail. KIAUH contains additional features and is recommended for multi-printer setups.
|
||||
- [Manual Setup](manual-setup/index.md)
|
||||
The rocky road. If you want to know how everything is set up by hand, you will get all the information here.
|
||||
The rocky road for the daring. For those who want to know how everything is set up manually.
|
||||
|
||||
## Hosted
|
||||
|
||||
Setup [remote access](../quicktips/remote-access) without installing/configuring a web server!
|
||||
{: .info}
|
||||
You an also setup [remote access](../quicktips/remote-access) without installing or configuring a web server.
|
||||
|
||||
A hosted instance of Mainsail can be found and used at [my.mainsail.xyz](http://my.mainsail.xyz), check out the [documentation](mainsail-hosted) for usage and configuration.
|
||||
You can test and review a hosted version of Mainsail at [my.mainsail.xyz](http://my.mainsail.xyz). Please read the [documentation](mainsail-hosted) for usage and configuration.
|
||||
@@ -8,8 +8,8 @@ permalink: /setup/kiauh
|
||||
---
|
||||
# Installing Mainsail with KIAUH
|
||||
|
||||
[KIAUH](https://github.com/th33xitus/kiauh) is a handy tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various other extensions easily and comfortably.
|
||||
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
|
||||
|
||||

|
||||
|
||||
For more information and get to the guide click [here](https://github.com/th33xitus/kiauh).
|
||||
You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation.
|
||||
@@ -13,25 +13,22 @@ permalink: /setup/mainsail-hosted
|
||||
Mainsail and MainsailOS respect [Data Privacy](../data-privacy).
|
||||
{: .info}
|
||||
|
||||
The hosted version of mainsail can be used:
|
||||
|
||||
* On the same (local) network as your printer.
|
||||
* On a remote (different) network to your printer (requires the configuration of [remote access](../quicktips/remote-access)).
|
||||
The hosted version of Mainsail can be used on the same local network with your printer or on a different remote to network and requires you to setup [remote access](../quicktips/remote-access).
|
||||
|
||||
## Requirements
|
||||
|
||||
- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service to work.
|
||||
- If you have a manual installation, then the following requirements must be met:
|
||||
* Klipper must be installed.
|
||||
* Moonraker must be installed.
|
||||
* my.mainsail.xyz must be configured as a CORS domain in moonraker.conf.
|
||||
- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service.
|
||||
- If you have a manual installation, the following requirements must be met:
|
||||
* Klipper
|
||||
* Moonraker
|
||||
* `my.mainsail.xyz` must be configured as a CORS domain in `moonraker.conf`.
|
||||
|
||||
## Editing moonraker.conf
|
||||
### Editing moonraker.conf for remote access
|
||||
|
||||
Further information can be found in the Moonraker [documentation](https://moonraker.readthedocs.io/en/latest/configuration/#authorization)
|
||||
You can learn more about editing Moonraker's authorization [configuration documentation here.](https://moonraker.readthedocs.io/en/latest/configuration/#authorization)
|
||||
{: .info}
|
||||
|
||||
To allow [my.mainsail.xyz](http://my.mainsail.xyz) to access your local installation, navigate to moonraker.conf open it and add the following code:
|
||||
To configure [my.mainsail.xyz](http://my.mainsail.xyz) for access with your local installation, open `moonraker.conf` and add the following `authorization` section:
|
||||
|
||||
```yml
|
||||
[authorization]
|
||||
|
||||
@@ -10,13 +10,13 @@ permalink: /setup/mainsail-os
|
||||
|
||||
# Installing MainsailOS
|
||||
|
||||
MainsailOS builds upon RaspberryOS-Lite by incorporating Klipper, Moonraker and Mainsail into one disc image, making them more accessible and quicker to setup than before.
|
||||
MainsailOS builds upon Raspberry Pi OS Lite by including Klipper, Moonraker, and Mainsail into the disc image, making setup quick and Mainsail easier to use with Klipper and Moonraker.
|
||||
|
||||
Complex/custom configurations may be better suited to a [manual](manual-setup/index.md) installation of Mainsail.
|
||||
Advanced users may want more complex and custom configurations and Mainsail can be [manually installed](manual-setup/index.md).
|
||||
|
||||
If you are familiar with the flashing process, then please use your preferred method as you normally would.
|
||||
If you are familiar with process to flash the firmware, then please use your preferred method as you normally would.
|
||||
|
||||
If however you are unfamiliar with the flashing process then we have documented two methods to flash MainsailOS to your SD card:
|
||||
If however you are unfamiliar with the flashing process we have documented two methods to flash MainsailOS to your SD card:
|
||||
|
||||
* [Raspberry Pi Imager](mainsailos/pi-imager) (cross-platform, easiest) <span class="label label-red">recommended</span>
|
||||
* [Balena Etcher](mainsailos/balena-etcher) (requires manual setup)
|
||||
@@ -10,14 +10,14 @@ permalink: /setup/pre-flight
|
||||
|
||||
# Preflight Checklist
|
||||
|
||||
A quick run-through to check no important steps have been missed during installation and configuration.
|
||||
You may wish to review the list below to make sure you have not missed any important steps during the setup process.
|
||||
|
||||
| Installed software components: | Configured: | Performed: |
|
||||
| Installed software components: | Configured: | Completed: |
|
||||
| :-- | :-- | :-- |
|
||||
| ✅ MainsailOS<br> **OR** <br> ✅ Klipper<br> ✅ Moonraker<br> ✅ Mainsail<br> | ✅ Network<br> ✅ [Configured printer.cfg](mainsailos/klipper-setup)<br> ✅ [Included mainsail.cfg](mainsailos/first-boot#mainsailcfg)| ✅ Updates<br> ✅ Klipper verification(s)|
|
||||
|
||||
# Time to print
|
||||
# Time to print!
|
||||
|
||||
If you've covered all the steps, you should now have a complete software stack ready to perform calibration prints!
|
||||
If you have performed all of the installation steps, your installation should be complete and you are ready to start calibrating and printing with your 3D printer.
|
||||
|
||||
**Thank you for choosing Mainsail**
|
||||
@@ -7,9 +7,10 @@ permalink: /update/
|
||||
has_toc: false
|
||||
---
|
||||
|
||||
There are currently two methods to update either via the web interface, or manually.
|
||||
There are two methods to update Mainsail: from Mainsail's interface in your web browser or by manually updating.
|
||||
|
||||
- [Update Manager](update-manager) <span class="label label-red">recommended</span>
|
||||
A built in update utility found in the web ui, under the machine tab.
|
||||
- [Manual Update](manual-update)
|
||||
Guides on manual update methods for each component; Klipper, Moonraker and Mainsail.
|
||||
|
||||
- [Update Manager Guide](update-manager) <span class="label label-red">(Recommended)</span>
|
||||
Update Klipper, Moonraker and Mainsail in your web browser using Mainsail. This is the recommended method.
|
||||
- [Manual Update Guide](manual-update)
|
||||
Review the included guides on how to manually update each component, including Klipper, Moonraker, and Mainsail.
|
||||
@@ -8,16 +8,18 @@ permalink: /update/klipper
|
||||
|
||||
## Klipper
|
||||
### Update from Repository
|
||||
|
||||
To update Klipper directly from its repository, run the following command in a terminal:
|
||||
|
||||
```bash
|
||||
cd ~/klipper
|
||||
git pull
|
||||
```
|
||||
|
||||
Restart Klipper (`sudo service klipper restart`) and check the `klippy.log`, if Klipper starts
|
||||
correctly and then continue the guide.
|
||||
Restart Klipper using the command `sudo service klipper restart` and check the `klippy.log`. if Klipper started correctly without any errors you may continue.
|
||||
|
||||
### Klipper config changes
|
||||
If you have issues after update your Klipper instance, you can check config changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
|
||||
### Klipper configuration changes
|
||||
If you have any issues after updating your Klipper instance, you can check the configuration changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
|
||||
|
||||
---
|
||||
[< table of contents](index.md){: .btn } [next step >](moonraker.md){: .btn}
|
||||
@@ -6,20 +6,26 @@ nav_order: 4
|
||||
permalink: /update/mainsail
|
||||
---
|
||||
|
||||
## Mainsail
|
||||
## Updating Mainsail
|
||||
|
||||
To update Mainsail manually, run the commands below in your terminal:
|
||||
|
||||
```bash
|
||||
cd ~/mainsail
|
||||
rm -R ./*
|
||||
wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
|
||||
```
|
||||
|
||||
### Move gui.json from gcodes to klipper_config
|
||||
This is only necessary if you update from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
|
||||
### Updating from 0.2.2 to 0.2.3 or higher
|
||||
|
||||
If you are updating from Mainsail version 0.2.2 to a newer version, you must move the file `gui.json` from the `gcodes` directory to the `klipper_config' directory.
|
||||
|
||||
This is only necessary when updating from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
|
||||
```
|
||||
mv ~/sdcard/gui.json ~/klipper_config/
|
||||
```
|
||||
|
||||
Now it should be possible to open the interface: `http://<printer-ip>/`.
|
||||
You should now be able to open Mainsail in your web browser at `http://<printer-ip>/`.
|
||||
|
||||
---
|
||||
[< previous step](moonraker.md){: .btn }
|
||||
@@ -6,21 +6,26 @@ nav_order: 3
|
||||
permalink: /update/moonraker
|
||||
---
|
||||
|
||||
## Moonraker
|
||||
## Updating Moonraker
|
||||
|
||||
To update Moonraker directly from its repository, run the following command in a terminal:
|
||||
|
||||
```bash
|
||||
cd ~/moonraker
|
||||
git pull
|
||||
```
|
||||
|
||||
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
|
||||
Restart Moonraker using the command `sudo service moonraker restart` and open the URL `http://<printer-ip>:7125/printer/info` in your browser.
|
||||
|
||||
If you see a content like this
|
||||
Your printer is updated and ready if you see the following message:
|
||||
```
|
||||
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-643-g528f9f25", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
|
||||
```
|
||||
|
||||
### Add Moonraker update manager
|
||||
To use the update manager in Mainsail you have to add this in your moonraker.conf:
|
||||
### Add Moonraker to the update manager
|
||||
|
||||
If you want to update Moonraker using the update manager, you need to add the following section to your printer's `moonraker.conf`:
|
||||
|
||||
```
|
||||
[update_manager]
|
||||
|
||||
@@ -30,21 +35,21 @@ repo: mainsail-crew/mainsail
|
||||
path: ~/mainsail
|
||||
```
|
||||
|
||||
### Change Moonraker to systemd service (December 6th 2020)
|
||||
Moonraker is now installed as a systemd service. If `moonraker.conf` is not located in the home directory, the command will looks something like the following:
|
||||
### Moonraker as a systemd service
|
||||
As of December 2020, Moonraker is added as a systemd service during installation. If `moonraker.conf` is not located in the home directory, run this command in your terminal:
|
||||
```bash
|
||||
~/moonraker/scripts/install-moonraker.sh -f -c /home/pi/klipper_config/moonraker.conf
|
||||
```
|
||||
This allows logging to stdout which can be viewed with the `journalctl -u moonraker command`.
|
||||
This allows logging to `stdout` which can be viewed with the command `journalctl -u moonraker` in your terminal.
|
||||
|
||||
### Update Moonraker dependence
|
||||
This is only nessasary, if you see missing modules in the moonraker log.
|
||||
### Update Moonraker's dependencies
|
||||
Updating Moonraker's dependecencies manually is only needed if you see missing modules in the Moonraker log. You can run the following command to update Moonraker's dependencies:
|
||||
```bash
|
||||
~/moonraker/scripts/install-moonraker.sh -r
|
||||
```
|
||||
|
||||
### Moonraker config changes
|
||||
If you have issues after update your Moonraker instance, you can check config changes [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
|
||||
### Moonraker configuration changes
|
||||
If you have issues after updating Moonraker, please review the list of changes requiring user intervention [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
|
||||
|
||||
---
|
||||
[< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn }
|
||||
@@ -9,18 +9,18 @@ permalink: /update/update-manager
|
||||
|
||||
# Update Manager
|
||||
|
||||
You can find further information on this topic by checking out the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
|
||||
You can find further information on this topic in the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
|
||||
{: .info}
|
||||
|
||||
## Enabling the feature
|
||||
## Enabling Update Manager
|
||||
|
||||
To use the built in Update Manager it must first be enabled by editing the moonraker.conf file:
|
||||
To use the built in Update Manager it must first be enabled by editing the `moonraker.conf` file. From a terminal navigate to Klipper's configuration directory and edit the configuration file:
|
||||
|
||||
```bash
|
||||
cd ~/klipper_config
|
||||
sudo nano moonraker.conf
|
||||
```
|
||||
Add the following section to your printers moonraker.conf:
|
||||
Add the following section to your printer's `moonraker.conf`:
|
||||
|
||||
```yaml
|
||||
[update_manager]
|
||||
@@ -36,18 +36,20 @@ Restart Moonraker:
|
||||
sudo systemctl restart moonraker
|
||||
```
|
||||
|
||||
## Using the Web UI
|
||||
## Using Mainsail to Update
|
||||
|
||||
With the manager enabled reload the web ui and select the 'machine' tab from the sidebar. You should now see the Update Manager panel.
|
||||
With the update manager enabled, reload your web browser and select the 'Machine' tab from the sidebar. You should now see the Update Manager panel.
|
||||
|
||||
Holding shift whilst clicking the browser's refresh button (or pressing ctrl+f5) will force it to reload the page fully (without the cache).
|
||||
Holding shift while clicking the browser's refresh button (or pressing Control + F5) will force it to reload the page fully without the cache.
|
||||
{: .info}
|
||||
|
||||
Typically the update order is top to bottom.
|
||||
The update order is top to bottom.
|
||||
|
||||

|
||||
|
||||
To update a component, click the  button.
|
||||
To update a component, click the 'UPDATE' button next to the component you wish to update:
|
||||
|
||||
A new window will launch and the component will be updated. When the update is finished, the window can be closed.
|
||||

|
||||
|
||||
A popover window will launch and the component will be updated. When the update is finished, you can close the window.
|
||||
|
||||
Reference in new issue
Block a user