A way to seed lots of dummy content?
# help-with-umbraco
t
I wonder if anyone has worked with this problem previously. I need a way to create lots of content nodes programmatically, with dummy content. I can figure out all the steps myself and solve it, but it's a bit of work and I recall potentially having seen a package or similar used for such purpose previously that I can't remember the name of. How would you go about implementing something like that? Use case: we need to develop a specific Examine search behavior, and until we have content in place it's only theoretical results we can muster.
c
Been a while since I've used it, but for the actual content generation itself Bogus can be a useful library to give you quote some configurability in the data you wish to generate. You can then feed the Bogus generated data into your content types and save 'em using the Umbraco content services! 🙂 https://github.com/bchavez/Bogus
t
Good tip, it worked wonders!
3 Views