Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Open Academic Environment (OAE) Model Loader

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 api
Octocat-spinner-32 data
Octocat-spinner-32 performance-testing
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 generate.js
Octocat-spinner-32 loaddata.js
Octocat-spinner-32 package.json
Octocat-spinner-32 stats.js
README.md

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
Something went wrong with that request. Please try again.