Skip to content

pinterm/2017

 
 

Repository files navigation

HPI 2017

Presentation material

Sandbox environments

UI sandbox

A minimal sandbox environment to play around with UI code.

Prerequisites:

  • Chrome driver
    • copy the extracted driver file (chromedriver[.exe]) to the sandbox/ui directory

How to use:

  • Start the sandbox
$ cd sandbox/ui
$ make run

```

- Change code in file ***sandbox/ui/js/src/main/scala/Sandbox.scala***
- Upon saving changes, the code will be recompiled and run in a new Chrome window 

### Data sandbox

A minimal sandbox environment to play around with data code.

How to use:
- Start the sandbox

````bash
$ cd sandbox/data
$ make run

```

- Change code in file ***sandbox/data/dataSandbox/src/main/Sandbox.scala***
- Upon saving changes, the code will be recompiled, and you can see results in the console window 

## Template/example applications

### Puzzle 

![Puzzle <h](./resources/puzzle.png)

A simple, ui-only puzzle application

````bash
$ cd templates/puzzle
$ make run

```

### UI with data template application

![Hello world <h](./resources/ui_with_data.png)

A template application with UI and data code:
- UI: hello world
- Data: simple server with configured DB access


````bash
$ cd templates/ui_with_data
$ make run

```


### A simple line item browser

![Line item browser <h](./resources/line_item_browser.png)

A template application with UI and data code:
- UI: hello world
- Data: simple server with configured DB access


````bash
$ cd templates/line_item_browser
$ make run

```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.2%
  • Scala 37.5%
  • HTML 4.1%
  • Makefile 1.2%