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 the following tools and one of the following systems to be installed. The scripts in this demo do not install any of these tools, but they check for sufficient versions.
Required tools:
Docker and docker-compose 1.10+
: Open platform for developing, shipping, and running applications. (installation instructions)iofogctl 1.2.0+
: CLI tool and a one-stop-shop for all your ioFog needs. (installation instructions)Supported operating systems:
On Unix based systems, download our tar.gz package.
cd where/we/want/iofog-demo
curl -L -o demo.tar.gz https://github.com/eclipse-iofog/demo/archive/v1.2.1.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
When we are finished, we can tear down the ioFog stack and all services deployed on it.
$ ./stop.sh
With a working ioFog environment set up, we're now ready to get to know ioFog.