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.
This project is derived from the moodle2aa gem.
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>
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
This is not a complete solution and not all Moodle information will be migrated.
Run the tests:
$ bundle exec rake
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request