Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Setting up a demo deployment environment

Farshid Tavakolizadeh edited this page Jan 24, 2020 · 10 revisions

This page is a guide to quickly setup dummy devices (as Docker containers) to demo the Deployment Tool.

Pre-requisites:

  • Deployment Manager - setup here
  • Docker
  • Docker Compose

Open Deployment Manager's UI, login and get three tokens:

Sign In Get tokens

In a directory called agents, download the Docker Compose script for dummy devices:

wget https://raw.githubusercontent.com/cpswarm/deployment-tool/master/agent/docker-compose.yml

Modify docker-compose.yml and set the value of AUTH_TOKEN for each container to one of the three tokens that you retrieved using the UI.

Run the Docker Compose script:

docker-compose up -d

Check and make sure that all the containers are running (docker-compose ps).

You should now be able to see the discovered devices on the UI: Discovered devices