Skip to content

Docker Quick Start

Hylke van der Schaaf edited this page Sep 6, 2018 · 3 revisions

A Docker quick-start tutorial

If you have docker and docker-compose

  1. Download our docker-compose file:

    wget https://raw.githubusercontent.com/FraunhoferIOSB/FROST-Server/master/docker-compose.yaml

  2. Start the server with docker: docker-compose up

  3. Fetch a json file with some demo entities:

    wget https://gist.githubusercontent.com/hylkevds/4ffba774fe0128305047b7bcbcd2672e/raw/demoEntities.json

  4. Post it to the server:

    curl -X POST -H "Content-Type: application/json" -d @demoEntities.json http://localhost:8080/FROST-Server/v1.0/Things

  5. Browse to http://localhost:8080/FROST-Server/v1.0

  6. Enjoy!