98896fe02e80b5e0fb1ff1b640760036c063fea0
Updated January 2022.
Want to support this work? Buy Me a Coffee. https://www.buymeacoffee.com/ppaukstelis
octoprint_deploy
These files provide a simple bash script for quickly deploying multiple octoprint instances on a single computer.
How to use
- OctoPi
- Put the latest OctoPi image on your SD card
- ssh into your Pi (pi@octopi.local; good idea to change your password now!)
- run the command
git clone https://github.com/paukstelis/octoprint_deploy.git - switch to the fullprep branch (For now;
cd octoprint_deploy; git checkout fullprep; cd) - run the command
sudo octoprint_deploy/octoprint_deploy.sh - Choose
Prepare Systemfrom the menu - Setup admin user by connecting to http://octopi.local via browser
- Back in the ssh session, choose
Add Instanceand follow the instructions. - Continue until you have added all the printers you want to use
- haproxy entries are updated so you can connect via http://octopi.local/instancename/
- Ubuntu (may work for other deb systems, not tested yet)
- Install Ubuntu 20.X on your system (make sure your user is admin for sudo)
- Install git if it isn't already:
sudo apt install git - run the command
git clone https://github.com/paukstelis/octoprint_deploy.git - switch to the fullprep branch (For now;
cd octoprint_deploy; git checkout fullprep; cd) - run the command
sudo octoprint_deploy/octoprint_deploy.sh - Choose
Prepare Systemfrom the menu. This will install necessary packages, install octoprint, and start an instance - Setup admin user by connecting to your system (either http://localhost:5000 or http://[hostname]:5000 via browser
- Continue with octoprint_deploy script and setup all your instances.
- What else can you do?
- Remove instances
- Add USB webcams AFTER you've created the instance
- Test USB connections
Languages
Shell
100%