0.1.4 • Published 8 years ago

@chinh/vrp-tools v0.1.4

Weekly downloads
4
License
-
Repository
-
Last release
8 years ago

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


ACTIONDESCRIPTION
genOrdergenerates n number of delivery orders and inserts into SQL DB
syncCollectionsyncs mongoDB collections of given server and azure cloud server
updateProfileupdates users' prfile in MongoDB

How to use


genOrder


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

OptionDescription
-U, --userusername of sql db to be connected
-n, --numOfOrdersnumber of orders to be generated
-P, --passpassword of sql db to be connected
-S, --serverserver ip of db to be connected
-d, --databasename of sql db to be connected

syncCollection


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

OptionDescription
-U, --userusername of mongodb to be connected
-c, --collectionname of collection to be synced
-P, --passpassword of mongodb to be connected
-S, --serverPortip and port of server to which mongo collection to be imported
-d, --databasename of mongodb to be connected
-t, --cloudDbNamename of the DB to which mongo collection to be imported
-r, --cloudServername of the cloud server

updateProfile


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

OptionDescription
-u, --mongoUrlmongodb url(with port and db name) to be connected
-p, --profileTypestypes of profile user want to update
-d, --dirPrefixpath to profile jsons
0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago