touchprint/stage2/04-octoprint/01.run.sh
Logan Gartner b94d01cea2
Implemented GUI, build OctoPrint
GUI has been implemented using NoDM
Some files have been shifted to more appropriate stages
Updated the name in NOOBS (although whats the point?)
OctoPrint is now built and installed
Removed LightDM as its a buggy mess
2020-08-11 01:04:29 -06:00

11 lines
286 B
Bash
Executable file

#!/bin/bash -e
if [ -d /home/${FIRST_USER_NAME} ];
cd /home/${FIRST_USER_NAME} || 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