Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 608 Bytes

README.md

File metadata and controls

26 lines (13 loc) · 608 Bytes

This example reuses activity script for generating user activities in format suitable for cohort analysis.

Generating dataset

../activity/generate.py -d -c > data.tsv

Running the ViyaDB

To run the database instance on this dataset, issue the following command when standing in the build/ directory:

./src/server/viyad store.json

Loading the data

First, correct full path to .tsv file in load.json.

Then, run:

curl -sS --data-binary @load.json http://localhost:5000/load

Sending a query

curl -sS --data-binary @query.json http://localhost:5000/query