Setup / Install vutil (Windows 64 bit)
Prerequisites:
- Node.js - Download and Install Node.js. You can also follow this wiki (https://nodejs.org/en/download/package-manager/)
Setup / Installation:
Step by step guide to install vutil:
Clone / download the vutil repository in the directory of your choice.
If you have installed git, then you may clone the repository with the following command:Â
git clone git@github.com:vrest-io/vutil.git
OR you may download the repository from github. It will be downloaded as directory vutil-master. Rename this directory to vutil.
Now, copy the config.sample.json into config.json.Â
cd vutil copy config.sample.json config.json
Note:Â Whenever there is a change in config.json file, then you need to restart the vutil server.
ÂNow, install the dependencies of the vutil module
npm install
Now, vutil server is ready to start. Simply execute the following command to start the vutil server. You may change the port number with the following command.
set PORT=4080 node server.js
That's it. You may access vutil server on http://localhost:4080. You may also set this URL as global variable vutilBaseURL which you may use in vREST test cases.