From 6798072df9260df0132706908ba1fddfc3005271 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Mon, 21 Oct 2019 22:29:15 -0400 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c58598a..e50bda2 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ These files provide a simple bash script for quickly deploying multiple octoprin * Install Octoprint. You can follow the directions here: https://octoprint.org/download/ or here: https://community.octoprint.org/t/setting-up-octoprint-on-a-raspberry-pi-running-raspbian/2337 -* Start up Octoprint for the first time to setup a base instance profile (running on localhost:5000). The base profile will be edited in several places with `INSTANCE` to allow modifications during deployment. This only needs to be done once. +* Start up Octoprint for the first time to setup a base instance profile (running on localhost:5000). The base profile will be edited in several places with `INSTANCE` to allow modifications during deployment. You can make this as extensive as you like as far as adding different printers, plugins, etc. They can be added for each instance later. This only needs to be done once. * During setup, edit the restart script: `sudo systemctl restart INSTANCE` ![alt text](/deploy_01.png) * After the initial setup is done, reload the server and edit the Additional Serial Port field: `/dev/octo_INSTANCE` @@ -57,3 +57,6 @@ This will do the following: You can now go through and run the script for each printer you want connected to the computer. The limit of instances you can run will likely be dependent on your computer hardware, but I have run 11 printers on an old Core 2 Duo with 4Gb of RAM without issue. Because each octoprint instance is coming from the same source files, any global modifications you make to octoprint (adding/removing plugins, updating octoprint) are all automatically applied to all of your instances and will take effect when you restart that instance. + +# Other +You likely want to allow the user that is running the octoprint instance (paul in the example) to start/stop/restart services. This can be accomplished with: `sudo visudo`. It is recommended to read up on how to do this without a password. Most generall this can be done by adding `paul ALL=(ALL) NOPASSWD:ALL` to the sudoers file. However, THERE ARE RISKS TO DOING THIS, so consider wisely.