Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.4 KB

README.md

File metadata and controls

59 lines (44 loc) · 1.4 KB

A Qooxdoo Theme for OSparc

These instructions assume that you are using the new qooxdoo-compiler for building your application.

Using the Theme in your Application

To use the OSparc Theme in your application, go into the application root directory and install the theme into your project:

$ qx contrib update
$ qx contrib list
$ qx contrib install ITISFoundation/qx-osparc-theme

now you just have to modify your compile.json to enable the theme:

"applications": [
  {
    ...
    "theme": "osparc.theme.OSparcDark",
    ...
  }
],

Running the Demo App

This contrib also comes with a demo application. To make it really simple to test it comes with 'docker-batteries' included.

The setup is prepared for runnig with docker. You don't need a local qooxdoo install or anyting to get started. Just install docker and give this a whirl.

  • build the docker image

    $ docker-compose build
  • run the demo server

    $ docker-compose up

    Now you can open http://localhost:8744 to see the widgetbrowser. The selectbox in the top right corner lets you select the OSparc theme.

If you want to run a different qx command, you can do this too

$ docker-compose run qx lint

Inspect the image interactively

$ docker run --entrypoint /bin/bash -i -t itisfoundation/qx-osparc-theme