Octoprint for controlling a 2D pen plotter. Based on the Mr. Beam fork of Octoprint.
Find a file
2014-09-07 00:53:54 +02:00
.tx Added .tx directory for transifex client to source control 2014-08-27 19:42:28 +02:00
docs Merge branch 'master' into devel 2014-08-31 21:41:54 +02:00
scripts Changed default path to OctoPrint executable 2014-08-30 10:12:13 +02:00
src/octoprint discovery plugin: let's try upnp 2014-09-07 00:53:54 +02:00
tests First experiments with a plugin system, service discovery and connectivity ensurance 2014-09-05 17:11:11 +02:00
.gitattributes Versioning by versioneer: https://github.com/warner/python-versioneer/ 2014-06-22 01:12:06 +02:00
.gitignore Remove Orig files 2013-08-02 19:21:12 -06:00
.travis.yml basic travis config 2014-02-10 21:23:49 -08:00
.versioneer-lookup Modified versioneer to allow specification of manual versions based on branches 2014-09-03 10:53:54 +02:00
babel.cfg First version of OctoPrint with i18n/l10n support 2014-08-27 14:46:46 +02:00
CHANGELOG.md Some more entries into the Changelog, trying to get up to date... 2014-09-04 08:30:36 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2014-08-01 14:23:11 +02:00
LICENSE Moved LICENSE file to root directory to make it more visible. Added hint to README.md that OctoPrint is released under AGPL 2013-01-20 00:29:48 +01:00
MANIFEST.in Versioning by versioneer: https://github.com/warner/python-versioneer/ 2014-06-22 01:12:06 +02:00
README.md Updated README to fit new installation procedure etc. 2014-08-08 17:00:39 +02:00
requirements-bbb.txt Better error reporting for timelapse rendering and system commands, updated pnotify and added possibility to add a "more" section to notifications 2014-05-26 22:51:45 +02:00
requirements-dev.txt First version of OctoPrint with i18n/l10n support 2014-08-27 14:46:46 +02:00
requirements.txt First version of OctoPrint with i18n/l10n support 2014-08-27 14:46:46 +02:00
run Insert src folder at first position of sys.path 2014-06-21 20:11:04 +02:00
setup.py Modified versioneer to allow specification of manual versions based on branches 2014-09-03 10:53:54 +02:00
versioneer.py Versioneer now also returns and persists the branch from which OctoPrint was installed 2014-09-03 10:56:39 +02:00

OctoPrint

Flattr this git repo

OctoPrint provides a responsive web interface for controlling a 3D printer (RepRap, Ultimaker, ...). It is Free Software and released under the GNU Affero General Public License V3.

Its website can be found at octoprint.org.

Contributing

Please see the project's Contribution Guidelines.

Installation

Installation instructions for installing from source for different operating systems can be found on the wiki.

If you want to run OctoPrint on a Raspberry Pi you might want to take a look at OctoPi which is a custom SD card image that includes OctoPrint plus dependencies.

Dependencies

OctoPrint depends on a couple of python modules to do its job. Those are automatically installed when installing OctoPrint via setup.py:

python setup.py install

You should also do this after pulling from the repository, since the dependencies might have changed.

OctoPrint currently only supports Python 2.7.

Usage

From the source directory you can start the server via

./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 the server to only listen on the local interface on port 8080, the command line would be

./run --host=127.0.0.1 --port=8080

Alternatively, the host and port on which to bind can be defined via the configuration.

If you want to run OctoPrint as a daemon (only supported on Linux), use

./run --daemon {start|stop|restart} [--pid PIDFILE]

If you do not supply a custom pidfile location via --pid PIDFILE, it will be created at /tmp/octoprint.pid.

You can also specify the configfile or the base directory (for basing off the uploads, timelapse and logs folders), e.g.:

./run --config /path/to/another/config.yaml --basedir /path/to/my/basedir

See run --help for further information.

Running the setup.py script also installs the octoprint startup script in your Python installation's scripts folder (which depending on whether you installed OctoPrint globally or into a virtual env will be on your PATH or not). The examples above also work with that startup script as it excepts the same parameters as run.

Configuration

If not specified via the commandline, the configfile config.yaml for OctoPrint is expected in the settings folder, which is located at ~/.octoprint on Linux, at %APPDATA%/OctoPrint on Windows and at ~/Library/Application Support/OctoPrint on MacOS.

A comprehensive overview of all available configuration settings can be found on the wiki.