Update 'README.md'
This commit is contained in:
parent
fff36b52b5
commit
c05e417350
19
README.md
19
README.md
@ -1,9 +1,10 @@
|
|||||||
## Has been **tested** and **developed** using
|
## Has been <u>tested</u> and <u>developed</u> using:
|
||||||
> ubuntu 16.04.6
|
> ubuntu 16.04.6<br/>
|
||||||
> openssl: 1.0.2g
|
> openssl: 1.0.2g<br/>
|
||||||
> node: 8.16.0
|
> 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 -<br/>
|
> curl -sL [https://deb.nodesource.com/setup_8.x](https://deb.nodesource.com/setup_8.x) | sudo -E bash -<br/>
|
||||||
> sudo apt-get install -y nodejs<br/>
|
> sudo apt-get install -y nodejs<br/>
|
||||||
> sudo apt-get install -y build-essential<br/>
|
> sudo apt-get install -y build-essential<br/>
|
||||||
@ -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)**<br/>
|
> rm package-lock.json && rm -rf node_modules && rm -rf ~/.node-gyp only **(if package-lock.json/node_modules or node was installed)**<br/>
|
||||||
> sudo apt-get install libasound2-dev<br/>
|
> sudo apt-get install libasound2-dev<br/>
|
||||||
> sudo npm i -g node-gyp<br/>
|
> sudo npm i -g node-gyp<br/>
|
||||||
> sudo npm install --unsafe-perm<br/>
|
> 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) <br/>
|
**For the simulation to simulate in a period**, we must put the **testing_period setting in settings** (the value is in milliseconds) <br/>
|
||||||
Example in **config**:<br/>
|
Example in **config**:<br/>
|
||||||
> [settings]<br/>
|
> [settings]<br/>
|
||||||
@ -22,7 +24,8 @@ Example in **config**:<br/>
|
|||||||
> send_gps = true<br/>
|
> send_gps = true<br/>
|
||||||
> gps_report_interval = 10000<br/>
|
> gps_report_interval = 10000<br/>
|
||||||
> gps_lng_start_point = 24.776126<br/>
|
> gps_lng_start_point = 24.776126<br/>
|
||||||
> testing_period = 7000 **# we will simulate all the units in a period of 7 seconds**<br/>
|
> 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"<br/>
|
> node index.js --path="./config/stage" node ./index.js --path="./config/testing"
|
||||||
|
Loading…
Reference in New Issue
Block a user