Logan Gartner
d96d6ee980
Added OctoPrint user to run OctoPrint daemon (not implemented yet) Really removed LightDM Fixed OctoPrint not building
11 lines
268 B
Bash
Executable file
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
|