From c05e41735052404f013e5b0e62065930c790c5ca Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 9 Apr 2020 17:21:57 +0300 Subject: [PATCH] Update 'README.md' --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2432530..9f6da59 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ -## Has been **tested** and **developed** using -> ubuntu 16.04.6 -> openssl: 1.0.2g +## Has been tested and developed using: +> ubuntu 16.04.6
+> openssl: 1.0.2g
> node: 8.16.0 -## Requirements + +## Requirements: > curl -sL [https://deb.nodesource.com/setup_8.x](https://deb.nodesource.com/setup_8.x) | sudo -E bash -
> sudo apt-get install -y nodejs
> sudo apt-get install -y build-essential
@@ -11,9 +12,10 @@ > rm package-lock.json && rm -rf node_modules && rm -rf ~/.node-gyp only **(if package-lock.json/node_modules or node was installed)**
> sudo apt-get install libasound2-dev
> sudo npm i -g node-gyp
-> sudo npm install --unsafe-perm
+> sudo npm install --unsafe-perm -## Configuration + +## Configuration: **For the simulation to simulate in a period**, we must put the **testing_period setting in settings** (the value is in milliseconds)
Example in **config**:
> [settings]
@@ -22,7 +24,8 @@ Example in **config**:
> send_gps = true
> gps_report_interval = 10000
> gps_lng_start_point = 24.776126
-> testing_period = 7000 **# we will simulate all the units in a period of 7 seconds**
+> testing_period = 7000 **# we will simulate all the units in a period of 7 seconds** + ## Start -> node index.js --path="./config/stage" node ./index.js --path="./config/testing"
+> node index.js --path="./config/stage" node ./index.js --path="./config/testing"