Skip to content

Commit baedf86

Browse files
committed
README: add instructions for Ubuntu Touch
1 parent 7109780 commit baedf86

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,34 @@ and Go 1.2 may be installed using [godeb](http://blog.labix.org/2013/06/15/in-fl
7474
$ go get gopkg.in/qml.v0
7575

7676

77+
Requirements on Ubuntu Touch
78+
----------------------------
79+
80+
After following the [installation instructions](https://wiki.ubuntu.com/Touch/Install) for Ubuntu Touch,
81+
run the following commands to get a working build environment inside the device:
82+
83+
$ adb shell
84+
# cd /tmp
85+
# wget https://github.com/go-qml/qml/raw/master/cmd/ubuntu-touch/setup.sh
86+
# /bin/bash setup.sh
87+
# su - phablet
88+
$
89+
90+
At the end of setup.sh, the phablet user will have GOPATH=$HOME in the environment,
91+
the qml package will be built, and the particle example will be built and run. For
92+
stopping it from the command line, run as the phablet user:
93+
94+
$ upstart-app-stop gopkg.in.qml.particle-example
95+
96+
for running it again:
97+
98+
$ upstart-app-launch gopkg.in.qml.particle-example
99+
100+
These commands depend on the following file, installed by setup.sh:
101+
102+
~/.local/share/applications/gopkg.in.qml.particle-example.desktop
103+
104+
77105
Requirements on Mac OS X
78106
------------------------
79107

0 commit comments

Comments
 (0)