/migration

Migration script from Coursemology v1 (Rails3, MySQL) to v2 (Rails4, PostgreSQL)

Primary LanguageRubyMIT LicenseMIT

Archived as migration is complete

Coursemogy Migration

Migration script from Coursemology v1 to v2.

Usage

Add these line to the application's Gemfile:

gem 'mysql2'
gem 'redis'

Add a new connection to the old database in database.yml.

v1:
  adapter: mysql2
  database: coursemology
  host: coursemology.org

Clone the files from this repo to Coursemology V2's lib/tasks directory.

And then:

$ rake migration:start