Last active
August 29, 2015 14:22
-
-
Save foofoodog/0b48e7b40402a2d24f0b to your computer and use it in GitHub Desktop.
Octoprint on windows
This file contains hidden or 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
| Requires Python 2.7 assumed to be at C:\Python27. | |
| Assumes global Python install has pip and virtualenv and maybe other stuff. | |
| Either git clone or unzip the repo files somewhere. | |
| Assuming you are bleeding edge and want to try the dev branch https://github.com/foosel/OctoPrint/archive/devel.zip. | |
| Assuming here that you unzipped it to c:\Temp and now have this directory C:\Temp\OctoPrint-devel\OctoPrint-devel. | |
| Hint: Text after the colon in the commands below can be pasted into the cmd window. | |
| Hint: To paste to the cmd window press [alt]+[space],e,p in the cmd window. | |
| Open a command prompt and change to the directory. | |
| From a command prompt ([win]+r, cmd, [enter]): cd C:\Temp\OctoPrint-devel\OctoPrint-devel | |
| In order to not pollute the global Python installation create a virtual environment and activate it. | |
| Create the environment: c:\Python27\Scripts\virtualenv.exe env | |
| Activate the environment: env\Scripts\activate | |
| The env Python.exe will now be on your path and your command prompt will show the env. | |
| Run the installer: python setup.py install | |
| Run the program: python run | |
| Surf to: http://localhost:5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment