install dependencies from packages (see above)
install rpcz
cd 3rdparty/rpcz
mkdir build
cd build
cmake ..
make
sudo make install
cd ../python
python setup.py install
compile interfaces
./compile_interfaces.sh
a) compile for development (into install/)
./build_debug.sh
OR
b) compile for release (into /usr/local)
./build_release.sh
optionally install python VTServer client
cd pyclient
python setup.py install
Development server:
./vtapi_debug.conf
./run_vtserver_debug.sh
Release server:
./vtapi_example.conf
vtserver --config=/path/to/config.conf
Testing the server:
import vtclient.client as vtclient
cl = vtclient.VTServerClient("tcp://127.0.0.1:8719")
addDataset = cl.call('addDataset', {'name': 'test_dataset'})
print cl.call('getDatasetList', {})
cl.call('deleteDataset', {'dataset_id': addDataset['dataset_id']})