Created
December 22, 2017 02:47
-
-
Save kantlivelong/589c23b521ea0705c0182545be699918 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf ~/oprint | |
python2.7 -m virtualenv ~/oprint | |
~/oprint/bin/pip install --index-url https://pypi.python.org/simple --upgrade pip | |
printf -- "[easy_install]\nindex-url = https://pypi.python.org/simple\n" > ~/.pydistutils.cfg | |
cd ~/OctoPrint | |
git fetch --all | |
git checkout master | |
git reset --hard origin/master | |
~/oprint/bin/python2.7 setup.py install | |
sudo /etc/init.d/octoprint restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment