Please refer to:
- Functional examples - live version of examples included in this repository.
- Documentation - detailed SDK API reference.
- Downloads - the latest version of the SDK.
To run examples on your local machine you need to install node.js. Use the latest LTS version available in the download section.
Below is the instruction how to run the project in your local device.
- Open config.json.
- There are placeholders for every type of key; replace them accordingly.
- Open a terminal or command line tool in the same folder.
npm install
, this will install all npm modules necessary to run examples in offline mode.npm run build
, this command will run the provided script and replace placeholders with your keys.npm start
, this will start a http server which will serve files. Open the browser, choose dist directory and click on one of the html files.- The server should start at https://localhost:8080 (if the port was already in use, check your console - http server prints what port it is running on), you can open it in the browser.
- Also open another terminal or command line tool in the same folder.
npm install express
, this will install express in the device.npm install hbs
, this will install hbs template in the device.npm install nodemon
, this will install nodemon in the devicecd App
, this will dircect the directory to App foldernodemon app.js
, this will start the web app at localhost.- open browser and type
localhost
in the place of URL. - For Log In type username as
TomTom
and password asnext
.