~webapps/ubuntu-html5-theme/15.10

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
======
README
======

Ubuntu HTML5 UI SDK for Html5 apps that brings a collection of HTML5 widgets
and js runtime support for HTML5 apps along with the HTML5 WebRuntime that is
meant to host those apps.

=======
HACKING
=======

Here is how to develop on this code base.

Install SASS
============

Complete the steps in globally install SASS if you currently do not have it
installed:
http://sass-lang.com/install

Running SASS
============

Once you have SASS installed. Open terminal (CTRL+Alt+T) and cd into your
branch folder. Then enter this command to begin watching your scss files:
$ sass --watch 0.1/ambiance/css/sass/default.scss:0.1/ambiance/css/appTemplate.css --style expanded

Automated UI tests
==================

The ubuntu-html5 container and the ubuntu-ui-toolkit both use autopilot (https://launchpad.net/autopilot) to test its functional elements.

To run the tests, you will need to install python3-autopilot and libautopilot-qt.
Then do the following:

    $ cd tests/autopilot/
    $ autopilot3 run ubuntu_html5_ui_toolkit
    $ autopilot3 run ubuntu_html5_container

You can get a list of all available tests with the following commands:

    $ autopilot3 list ubuntu_html5_ui_toolkit
    $ autopilot3 list ubuntu_html5_container