@chinh/vrp-tools
Utilities to support VRP
Last updated 3 years ago by chinh .
Original npm · Tarball · package.json
$ cnpm install @chinh/vrp-tools -g
SYNC missed versions from official npm registry.

VRP Tools


Installation##


  • Install Nodejs - Install the latest stable version of Nodejs via nodejs.org
  • install vrp-tools package from npm - npm install vrp-tools -g

Features


ACTION DESCRIPTION
genOrder generates n number of delivery orders and inserts into SQL DB
syncCollection syncs mongoDB collections of given server and azure cloud server
updateProfile updates users' prfile in MongoDB

How to use


genOrder


vrp-tools genOrder -n <n> -U [username] -P [password] -S [server] -d [database]

Option Description
-U, --user username of sql db to be connected
-n, --numOfOrders number of orders to be generated
-P, --pass password of sql db to be connected
-S, --server server ip of db to be connected
-d, --database name of sql db to be connected

syncCollection


vrp-tools syncCollection -U [username] -c[collection] -P [password] -S[serverport] -d [databasename] -t [clouddbname] -r [cloudservername]

Option Description
-U, --user username of mongodb to be connected
-c, --collection name of collection to be synced
-P, --pass password of mongodb to be connected
-S, --serverPort ip and port of server to which mongo collection to be imported
-d, --database name of mongodb to be connected
-t, --cloudDbName name of the DB to which mongo collection to be imported
-r, --cloudServer name of the cloud server

updateProfile


vrp-tools updateProfile -u [mongourl] -p <profiletypes> -d [dirprefix]

Option Description
-u, --mongoUrl mongodb url(with port and db name) to be connected
-p, --profileTypes types of profile user want to update
-d, --dirPrefix path to profile jsons

Current Tags

  • 0.1.4                                ...           latest (3 years ago)

17 Versions

  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.9                                ...           3 years ago
  • 0.0.8                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.7                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 24
Dependencies (5)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |