touchprint/stage2/04-octoprint/01-run.sh
Logan Gartner d96d6ee980
Added OctoPrint user, improved security, fixed GUI
Added OctoPrint user to run OctoPrint daemon (not implemented yet)
Really removed LightDM
Fixed OctoPrint not building
2020-08-11 02:01:25 -06:00

11 lines
268 B
Bash
Executable file

#!/bin/bash -e
if [ -d /home/octoprint ];
cd /home/octoprint || exit 1
mkdir OctoPrint || exit 1
cd OctoPrint || exit 1
virtualenv venv || exit 1
source venv/bin/activate || exit 1
pip install pip --upgrade || exit 1
pip install octoprint || exit 1
fi