Add octoprint #69

Open
wants to merge 5 commits into
from
View
@@ -26,6 +26,7 @@ This project currently includes the following snaps:
| :white_check_mark: | `minetest` | |
| :white_check_mark: | `moon-buggy` | [moon-buggy][moon-buggy] |
| :white_check_mark: | `mpv` | |
+| :white_check_mark: | `octoprint` | |
| :red_circle: | `openjdk-demo` | |
| :white_check_mark: | `ristretto` | |
| :white_check_mark: | `smplayer` | |
View
@@ -0,0 +1,10 @@
+# octoprint snap
+
+This project creates a working snap of octoprint.
+
+
+## Current state
+
+Known issues:
+ - More testing is needed for all the features.
+
@@ -0,0 +1,21 @@
+name: octoprint
+version: 0.1
+architectures: [all]
+summary: The snappy web interface for your 3D printer
+description: The snappy web interface for your 3D printer
+
+apps:
+ octoprint:
+ command: octoprint
@dholbach

dholbach Jun 17, 2016

Collaborator

This might need to be usr/bin/octoprint for it to work. Do you have octoprint in /snap/bin?

@mariogrip

mariogrip Jun 17, 2016

@zyga said

usr/bin is on PATH so it will be found by default

so i removed ./usr/bin with 9e83ecf

@mariogrip

mariogrip Jun 17, 2016

btw, I have tested it, and it works

+ daemon: simple
+ plugs: [mount-observe, network-bind]
+
+
+parts:
+ octoprint:
+ plugin: python2
+ source: https://github.com/foosel/OctoPrint.git
+ source-type: git
+ build-packages:
+ - python-dev
+ - build-essential