From c77df989806506ed0e12e6f77d4d8f83a8382459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 18 Jan 2013 23:39:26 +0100 Subject: [PATCH] Changed instructions to use run shellscript --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 47d63381..a091aed9 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,10 @@ Just start the server via python -m octoprint.server +or alternatively + + ./run + By default it binds to all interfaces on port 5000 (so pointing your browser to `http://127.0.0.1:5000` will do the trick). If you want to change that, use the additional command line parameters `host` and `port`, which accept the host ip to bind to and the numeric port number respectively. If for example you want to the server @@ -51,6 +55,10 @@ to only listen on the local interface on port 8080, the command line would be python -m octoprint.server --host=127.0.0.1 --port=8080 +or + + ./run --host=127.0.0.1 --port=8080 + Alternatively, the host and port on which to bind can be defined via the configuration. Configuration @@ -124,7 +132,7 @@ listed in requirements.txt: You should then be able to start the OctoPrint server: - pi@raspberrypi ~/PrinterWebUI $ python -m octoprint.server + pi@raspberrypi ~/PrinterWebUI $ ./run * Running on http://0.0.0.0:5000/ If you also want webcam and timelapse support, you'll need to download and compile MJPG-Streamer: