Project

General

Profile

Actions

Generating demo data » History » Revision 1

Revision 1/2 | Next »
Aleksandar Pavic, 2024-02-14 14:02


Generating demo data

Sometimes developers need lot's of data to test some plugin or theme,
here is a plugin which can generate tons of data for you.

This is a fork of Eric Davis's original plugin
made compatible with Redmine 4.1+ (tested), including 5.x

Install it like any other plugin,

git clone https://github.com/acosonic/redmine_data_generator

to plugins directory

then run

bundle install

to use it, simply run any of following rake tasks in console:

rake data_generator:all              # Generates random data for all supported datatypes
rake data_generator:issues           # Generate random issues.
rake data_generator:issue_history    # Generate random issues history
rake data_generator:projects         # Generate random projects.
rake data_generator:time_entries     # Generate random time entries.
rake data_generator:users            # Generate random users.

you can also override default number of generated items by adding COUNT=x
replacing x with number of items you want to generate

Updated by Aleksandar Pavic 9 months ago · 1 revisions