blob: d7c16ed98995135be7b160914136e61b87efeb00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Preliminary code for testing the implementation of a set of navigation Web API based on GENIVI API
Technology used: nodejs
To get nodejs:
sudo apt-get install nodejs npm
To build the module in C++ and install the module localy for nodejs:
cd ./node-cpp-lbs-modules
npm build .
npm pack
cd ..
npm install node-cpp-lbs-modules/node-cpp-based-modules-0.1.0.tgz
To test:
Intall additional modules for nodejs:
npm install http url fs path webidl2 escodegen
Run the server:
node server.js
In your browser:
http://localhost:8080/index.html
|