frouioui / tagenal

Tagenal is a playground app using Vitess, Redis, Traefik and Jaeger on Kubernetes
https://frouioui.github.io/tagenal/
MIT License
7 stars 0 forks source link

Improved sample data generation script #49

Closed frouioui closed 3 years ago

frouioui commented 3 years ago

This PR contains a small enhancement of the sample data generation script. Parameters such as number of users, ratio BEJ/HKG, number of words max per article, output path, etc... can be passed as arguments to the script.

Additionally, the path to the input images and videos can be passed as arguments to the script. A random choice of all the files located in these folders will be done to populate each article's data folder.