From d18fc889d5e8ef5f9aa54c2b355d67626e5e2a9d Mon Sep 17 00:00:00 2001 From: Arksine Date: Mon, 2 Nov 2020 08:57:16 -0500 Subject: [PATCH] docs: update installation.md with install script's command line options Signed-off-by: Eric Callahan --- docs/installation.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 7289b67..93715d5 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -47,19 +47,25 @@ cd ~ git clone https://github.com/Arksine/moonraker.git ``` -If you have an experimental verison of moonraker that pre-dates this repo, -it must be uninstalled: -``` -cd ~/moonraker/scripts -./uninstall-moonraker.sh -``` - Finally, run moonraker's install script: ``` cd ~/moonraker/scripts ./install-moonraker.sh ``` +The install script has a few command line options that may be useful, +particularly for those upgrading: +- -r\ + This will rebuild the virtual environment for existing installations. + Sometimes this is necessary when a dependency has been added. +- -f\ + This will tell the script to overwrite Moonraker's "defaults" file. + By default the script will not modify the "defaults" file if it is + detected as present. +- -c /path/to/moonraker.conf\ + This allows the user to specify the path to Moonraker's config file. + The default location is "/home//moonraker.conf". + When the script completes it should start both Moonraker and Klipper. In `klippy.log` you should find the following entry:\ `webhooks: New connection established`