I need to setup a second octoprint to be able to run both printers at the same time. I saw all the tutorials of how to do it on a raspberry Pi, but I'm using my desktop computer with OSX.
So I downloaded Octoprint again, but I'm not sure how to set it up as Octoprint2 and access it in another "localhost". Do I need to run a script or change the names manually or what would be the easiest way?
So I found this instructions:
First we copy the OctoPrint directory
cp -R /home/pi/.octoprint /home/pi/.octoprint2 SHOULD I PUT THE DIRECTORY OF OCTOPRINT FOLDER IN MY DESKTOP HERE?
next copy the OctoPrint configuration script /etc/default/octoprint to /etc/default/octoprint2
sudo cp /etc/default/octoprint /etc/default/octoprint2
and modify the port and add a new basedir the changes look like this:
PORT=5001DAEMON_ARGS="--host=$HOST --port=$PORT --basedir /home/pi/.octoprint2/"
Then copy the init script
sudo cp /etc/init.d/octoprint /etc/init.d/octoprint2
and modify the content a bit.
sudo nano /etc/init.d/octoprint2