- git clone git://github.com/oaeproject/OAE-model-loader.git
- brew install node
Create the following folders & add image files to
./data/pictures/users./data/pictures/groups./data/content
or alternatively download some pre-packaged content, untar it and place the contents in the data directory
## Preparing the environment
- Ensure that you've disabled reCaptcha for the tenant where you're loading in users. It can be disabled in the admin UI under the
Principalsmodule.
- node generate.js -b
number of batches-ttenant alias-unumber of users to generate-gnumber of groups to generate-cnumber of content items to generate-dnumber of discussions to generate - node loaddata.js -b
last batch to load (exclusive)-hhttp://tenant.url - node main.js
Although you're free to choose the batch size, we've found that the following works pretty well:
- 1000 users
- 2000 groups
- 10000 content items
- 1000 discussions