In this tutorial we will use a tutorial project to set up a local ECN with a set of example Microservices.
The ioFog demo requires one of the following systems and tools to be installed. The scripts in this demo do not install any of these tools, but they check for sufficient versions.
Supported operating systems:
Required tools:
Docker 1.10+
: Open platform for developing, shipping, and running applications. (installation instructions)iofogctl 2.0.0+
: CLI tool and a one-stop-shop for all your ioFog needs. (installation instructions)Make sure to follow the Docker post-installation instructions so that the Docker daemon can work without sudo
. Otherwise, the commands in this guide will not work.
On Unix based systems, download our tar.gz package.
mkdir -p /tmp/iofog/demo
cd /tmp/iofog/demo
curl -L -o demo.tar.gz https://github.com/eclipse-iofog/demo/archive/v2.0.4.tar.gz
tar -zxvf demo.tar.gz --strip-components=1
To get going, all we need to do is run:
./start.sh tutorial
We can optionally verify the ioFog stack is provisioned correctly. The automated tests run a smoke test suite on the ioFog stack, testing basic operations.
./test.sh
With a working ioFog environment set up, we're now ready to get to know ioFog.