docker-octoprint/Makefile

11 lines
No EOL
313 B
Makefile

lazy-deploy:
rsync -arv . printi:~/octoprint
ssh printi "cd ~/octoprint && make full-send"
full-send:
sudo rm -Rv /dev/printers
sudo mkdir -p /dev/printers
sudo ln -s /dev/serial/by-path/pci-0000:00:12.1-usb-0:3:1.0-port0 /dev/printers/corexy
docker compose build
docker compose down
docker compose up -d