Skip to content

atomicjolt/moodle2aa

Repository files navigation

Moodle2AA

moodle2aa will convert Moodle 1.9 backup files into Atomic Assessments compliant JSON.

Moodle information: http://moodle.org/

Atomic Assessments Getting started with Atomic Assessments

Use the Github Issues for feature requests and bug reports.

Legal

This project is derived from the moodle2aa gem.

Installation/Usage

Command line

Install RubyGems on your system, see http://rubygems.org/ for instructions. Once RubyGems is installed you can install this gem:

Clone this project into a local directory. CD into that directory and run bundle install gem build gem install moodle2aa

Convert a moodle .zip into Atomic Assessments format

$ ./bin/moodle2aa migrate <path-to-moodle-backup> <path-to-aa-export-directory>

In a Ruby application

Add this line to your application's Gemfile and run bundle:

gem 'moodle2aa'

Require the library in your project and use the migrator:

require 'moodle2aa'
migrator = Moodle2AA::Migrator.new moodle_zip_path, destination_path
migrator.migrate

Caveats

This is not a complete solution and not all Moodle information will be migrated.

Contributing

Run the tests:

$ bundle exec rake
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published