Update 'README.md'

This commit is contained in:
Sergiu Toma 2020-04-09 17:15:31 +03:00
parent 4fbb80e9e9
commit e5d3d8d5be
1 changed files with 10 additions and 10 deletions

View File

@ -11,17 +11,17 @@
> sudo npm i -g node-gyp > 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) **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**: Example in **config**:
>[settings] > [settings]
>max_fails = 3 > max_fails = 3
>send_voice = true > send_voice = true
>send_gps = true > send_gps = true
>gps_report_interval = 10000 > gps_report_interval = 10000
>gps_lng_start_point = 24.776126 > 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 ## 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"