Skip to content

DURAARK/workbench-ui

Repository files navigation

workbench-ui

Circle CI

Overview

The DURAARK WorkbenchUI is the graphical web application for working with the DURAARK System.

A description and user manual can be found in the report D2.5 Software prototype v2, Section 4.2.

Dependencies

The service depends on a DURAARK Service Platform endpoint. The official one is located at http://mimas.cgv.tugraz.at and serves the current stable API in v0.7.0. An environment variable sets the API endpoint when starting the WorkbenchUI (see 'docker-compose.yml' file, where the environment variable is set).

Used By

This service is used by the

Installation

The following instructions will deploy the SailsJS-based service which exports a REST API.

Prerequisites

The deployment is tested on Ubuntu 14.04 LTS. Other Linux distribution should work too, but are not tested. Docker and Docker Compose are used for installation and have to be installed on the system you want to deploy the DURAARK system on. The following instructions assume that Docker and Docker Compose are installed on working on the system. See the above links on how to install them for various platforms. Git has to be installed, too.

It is also possible to install DURAARK on Windows and Mac users via the Docker Toolbox. Installing Docker Compose on windows is possible, but seems to be a bit of a hurdle. See this Stackoverflow answer for details.

Our recommended stack is to install DURAARK on a Docker-compatible Linux system or to use VirtualBox to install a Linux virtual machine on your Windows host.

Installation Steps

On the host you want to deploy the service execute the following steps (assuming that Docker and Docker Compose are installed and working):

> git clone https://github.com/DURAARK/workbench-ui.git
> cd workbench-ui
> docker-compose up -d

This will deploy the system in the current stable version (v0.7.0) which exposes its API at http://HOST_IP:4200/ (http://localhost:4200/ if you did the setup on your local host).

Development Environment

To setup the environment follow these steps:

> git clone https://github.com/DURAARK/workbench-ui.git
> cd workbench-ui
> npm install && bower install
> docker-compose -f devenv-compose.yml build
> docker-compose -f devenv-compose.yml up -d

This will build the dockerized development environment. After building the docker container is started and you can access the service at http://localhost:4200. Changing the source code will live reload the container.

Testing

Run npm test in the src folder.

Demo

A public demo of the DURAARK System which incorporates this service is available here.

About

A graphical user interface for the DURAARK platform implemented with EmberJS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published