General Information

Which requirements should I meet in order to start?


It's recommended but not mandatory  to have a basic understanding of your preferred operating system (e.g. Linux), of databases like mysql, mosquitto as MQTT Broker and Node.js.

It's also necessary to have access to the internet, a google account and a banking account or credit card to verify your account. This is needed to get an own google cloud platform. There is an Google offer for a 365 day free-trial for 300 $. 

Why is a cloud platform needed?


The Ordermanager and Orderservice of "myfancydrink" is addressed from the cloud.  

Detailed Information

Installation and configuration process (example for Debian based distributions) on Google Cloud Platform


(1) Choose a Virtual Machine with a Debian or similar distribution

(2) Update and Upgrade the preinstalled Linux VM:
apt-get update
apt-get upgrade

(3) Download the latest repository files from GitHub

(4) Install mysql:
updating mysql table with preconfigured mysql dump
updating old login to user’s root

(5) Install NodeJS:

curl repository
apt-get install nodejs

(6) Install mosquitto:

apt-get install mosquitto

(7) Update the Firewall of the virtual machine (Google Cloud Platform):

Open port TCP:3001
Open port UDP:3001

(8) Start the Ordermanager:

Select path user/home/Ordermanager/
npm install to get the latest node modules
npm start

Set the order-manager to don’t stop on terminal close
npm module forever
forever start bin/server.js

(9) Start the Orderservice:

Select path user/home/Orderservice/
npm install to get the latest node modules
npm start

Set the order-manager to don’t stop on terminal close
npm module forever
forever start bin/www.js