Skip to content

oaeproject/OAE-model-loader

Repository files navigation

Open Academic Environment (OAE) Model Loader

Install

  • git clone git://github.com/oaeproject/OAE-model-loader.git
  • brew install node

Add files

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 Principals module.

Run

  • node generate.js -b number of batches -t tenant alias -u number of users to generate -g number of groups to generate -c number of content items to generate -d number of discussions to generate
  • node loaddata.js -b last batch to load (exclusive) -h http://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

About

Open Academic Environment (OAE) Model Loader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published