GithubHelp home page GithubHelp logo

imclab / octoprint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from octoprint/octoprint

0.0 1.0 0.0 23.06 MB

OctoPrint provides a responsive web interface for controlling a 3D printer (RepRap, Ultimaker, ...).

Home Page: http://octoprint.org

License: GNU Affero General Public License v3.0

octoprint's Introduction

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.

Reporting bugs

OctoPrint's issue tracker can be found on Github. Before opening a new ticket please take a look at this guide on how to file a bug report with OctoPrint.

Sending pull requests

Please create all pull requests against the devel branch of OctoPrint, as that one is used for developing new features and then merged against master when those features are deemed mature enough for general consumption. In case of bug fixes I'll take care to cherry pick them against master if the bugs they are fixing are critical.

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 listed in requirements.txt and can be installed using pip:

pip install -r requirements.txt

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

OctoPrint currently only supports Python 2.7.

Usage

Just 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.

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.

Setup on a Raspberry Pi running Raspbian

A comprehensive setup guide can be found on the wiki.

octoprint's People

Contributors

ajd4096 avatar algspd avatar alx avatar axtheb avatar bbum avatar caoimhechaos avatar capnbry avatar daftscience avatar daid avatar danlipsitt avatar foosel avatar fuegas avatar greenarrow avatar hudbrog avatar imitation avatar jcosmo avatar kentzo avatar martinxyz avatar marwue avatar norpchen avatar peteruithoven avatar redwoodforest avatar ryneches avatar savorywatt avatar splitbrain avatar thehans avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.