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), Mongo DB and Node.js.
How do I get the Data for the transportservice?
You can download the transportservice from GitHub repository: Transportservice.
What do I have to do to start the installation?
At first you have to update your system (OS Update). In the next step you have to install Node.js and Mongo DB.
With Mongo DB you create the database transportDB and the collection tsdatalist.
The transportservice can be accessed with IP of the hardware localhost:3002.
Installation process (example for Debian based distributions)
Installing: System Updates (OS Update)
sudo apt update
sudo apt upgrad
Install Mongo DB:
sudo apt-get install mongodb
Start Mongo DB:
sudo service mongodb start
The last step is to enable automatically starting MongoDB when the system starts:
sudo systemctl enable mongodb
Type into Mongo-Shell to create database TransportDB:
curl-sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
Download the repository from GitHub as a zip-file and unzip to your favourite path or use
Install necessary node-modules:
Start the Transportservice
Navigate to the cloned repository and start Node.js:
Set the IP-Address in the configuration file
config.json to your local MQTT-Broker.
The service can be accessed can be accessed on port