Skip to content

A trip planner for truck driver which considers driver’s rest hours and gives suggestions on rest locations along the way.

License

Notifications You must be signed in to change notification settings

pushkarhelge/Trucker-Trip-Planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trucker Trip Planner

Resources

Please refer to:

Getting started

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.

  1. Open config.json.
  2. There are placeholders for every type of key; replace them accordingly.
  3. Open a terminal or command line tool in the same folder.
  4. npm install, this will install all npm modules necessary to run examples in offline mode.
  5. npm run build, this command will run the provided script and replace placeholders with your keys.
  6. 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.
  7. 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.
  8. Also open another terminal or command line tool in the same folder.
  9. npm install express , this will install express in the device.
  10. npm install hbs, this will install hbs template in the device.
  11. npm install nodemon, this will install nodemon in the device
  12. cd App, this will dircect the directory to App folder
  13. nodemon app.js, this will start the web app at localhost.
  14. open browser and type localhost in the place of URL.
  15. For Log In type username as TomTom and password as next.

Thanks for the read!

About

A trip planner for truck driver which considers driver’s rest hours and gives suggestions on rest locations along the way.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published