From 4fbb80e9e9deb4e303e4048ecb845928710b6015 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 9 Apr 2020 17:14:15 +0300 Subject: [PATCH 1/6] Update 'README.md' --- README.md | 50 ++++++++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 01a97a0..4f574e7 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,27 @@ -Tested with --ubuntu 16.04.6 --openssl: 1.0.2g --node: 8.16.0 +## Tested with -ubuntu 16.04.6 -openssl: 1.0.2g -node: 8.16.0 -Requirements: -curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - -sudo apt-get install -y nodejs -sudo apt-get install -y build-essential -install python 2.7 -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 +## Requirements -Configuration: --For the simulation to simulate in a period, we must put the testing_period setting in settings (the value is in milliseconds) -Ex: -[settings] -max_fails = 3 -send_voice = true -send_gps = true -gps_report_interval = 10000 # The interval in which the GPS is sent -gps_lat_start_point = 46.217802 -gps_lng_start_point = 24.776126 -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" +> 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 +> install python 2.7 +> 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 + ## 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] +>max_fails = 3 +>send_voice = true +>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** + ## Start +>node index.js --path="./config/stage" node ./index.js --path="./config/testing" From e5d3d8d5be55279e19008d906f5899392292cc9f Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 9 Apr 2020 17:15:31 +0300 Subject: [PATCH 2/6] Update 'README.md' --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4f574e7..88355cb 100644 --- a/README.md +++ b/README.md @@ -11,17 +11,17 @@ > sudo npm i -g node-gyp > 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] ->max_fails = 3 ->send_voice = true ->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** +> [settings] +> max_fails = 3 +> send_voice = true +> 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** - ## Start ->node index.js --path="./config/stage" node ./index.js --path="./config/testing" +## Start +> node index.js --path="./config/stage" node ./index.js --path="./config/testing" From 1afcef57504f1b5db5474170730bfa63e0fa3b5f Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 9 Apr 2020 17:16:37 +0300 Subject: [PATCH 3/6] Update 'README.md' --- README.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 88355cb..3e7ae47 100644 --- a/README.md +++ b/README.md @@ -2,26 +2,26 @@ ## 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 -> install python 2.7 -> 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 +> 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
+> install python 2.7
+> 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
## 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] -> max_fails = 3 -> send_voice = true -> 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** +**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]
+> max_fails = 3
+> send_voice = true
+> 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**
## 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"
+
From dafe0997c85ebe7b9702cd30f013d4cba15966d5 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 9 Apr 2020 17:17:12 +0300 Subject: [PATCH 4/6] Update 'README.md' --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 3e7ae47..1347128 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ ## Tested with -ubuntu 16.04.6 -openssl: 1.0.2g -node: 8.16.0 ## 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
@@ -24,4 +23,3 @@ Example in **config**:
## Start > node index.js --path="./config/stage" node ./index.js --path="./config/testing"
-
From fff36b52b52bb22160e3f9c0158fbff6587d8cec Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 9 Apr 2020 17:19:31 +0300 Subject: [PATCH 5/6] Update 'README.md' --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1347128..2432530 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -## Tested with -ubuntu 16.04.6 -openssl: 1.0.2g -node: 8.16.0 +## Has been **tested** and **developed** using +> ubuntu 16.04.6 +> openssl: 1.0.2g +> node: 8.16.0 ## Requirements > curl -sL [https://deb.nodesource.com/setup_8.x](https://deb.nodesource.com/setup_8.x) | sudo -E bash -
From c05e41735052404f013e5b0e62065930c790c5ca Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Thu, 9 Apr 2020 17:21:57 +0300 Subject: [PATCH 6/6] 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"