Project

General

Profile

Generating demo data » History » Version 1

Aleksandar Pavic, 2024-02-14 14:02

1 1 Aleksandar Pavic
h1. Generating demo data
2
3
Sometimes developers need lot's of data to test some plugin or theme, 
4
here is a plugin which can generate tons of data for you.
5
6
This is a fork of Eric Davis's original plugin
7
made compatible with Redmine 4.1+ (tested), including 5.x
8
9
10
Install it like any other plugin, 
11
12
@git clone https://github.com/acosonic/redmine_data_generator@
13
14
to plugins directory
15
16
then run 
17
18
@bundle install@
19
20
21
to use it, simply run any of following rake tasks in console:
22
23
<pre>
24
rake data_generator:all              # Generates random data for all supported datatypes
25
rake data_generator:issues           # Generate random issues.
26
rake data_generator:issue_history    # Generate random issues history
27
rake data_generator:projects         # Generate random projects.
28
rake data_generator:time_entries     # Generate random time entries.
29
rake data_generator:users            # Generate random users.
30
</pre>
31
32
you can also override default number of generated items by adding COUNT=x
33
replacing x with number of items you want to generate