Skip to main content
Topic: Any sample-data-auto-fill routines around? (Read 2517 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Any sample-data-auto-fill routines around?

Anyone coded a routine to fill a test-site with sample data for ElkArte?

No big deal, but if someone already dun' it, it would be nice. :)

Re: Any sample-data-auto-fill routines around?

Reply #1

There is the evergreen https://github.com/elkarte/tools/blob/master/populate.php from Matt Zuba... but I didn't test it in a while...
Bugs creator.
Features destroyer.
Template killer.

Re: Any sample-data-auto-fill routines around?

Reply #2

Tried it now, it goes into a refresh loop after creating the members(or halfway through them.) Guess there are some kinks to work out there. :)

Re: Any sample-data-auto-fill routines around?

Reply #3

I guess a lot has changed with EA but that code doesn't.

Re: Any sample-data-auto-fill routines around?

Reply #4

 it worked for me on both 1.1 and 1.0.7... back in May.
LiveGallery - Simple gallery addon for ElkArte

Re: Any sample-data-auto-fill routines around?

Reply #5

Well, it is a series of refreshes until it finishes to populate the whole number of users and posts you asked for.
Maybe try with 5 members, 5 topics and 10 messages. This should go in a single pass.
Bugs creator.
Features destroyer.
Template killer.

Re: Any sample-data-auto-fill routines around?

Reply #6

Yes, I know..but it became stuck on members regardless of number I added for it. 

Maybe its something in my local setup that cause this(XAMMP) - in any case I converted a SMF backup instead to get a testing site active. That worked fine :)