Skip to content

Instantly share code, notes, and snippets.

@kantlivelong
Created December 22, 2017 02:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kantlivelong/589c23b521ea0705c0182545be699918 to your computer and use it in GitHub Desktop.
Save kantlivelong/589c23b521ea0705c0182545be699918 to your computer and use it in GitHub Desktop.
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