mokolabs / trucker_sample_app

Sample app that uses the trucker gem to migrate legacy data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trucker Sample App

This is a sample app that shows how to use the Trucker gem to migrate legacy data.

Installation

  1. Copy database.example.yml to database.yml, and edit appropriately.

  2. Run rake db:create:all to create your databases.

  3. Run mysql -u root trucker_legacy < db/old_blog_posts.sql to import your legacy data.

  4. Run rake db:migrate to create the Post table.

  5. Run script/server to launch the app.

  6. Run rake db:migrate:posts to migrate some old blog posts.

  7. That's it!

More Info

http://github.com/mokolabs/trucker

About

Sample app that uses the trucker gem to migrate legacy data

License:MIT License


Languages

Language:Ruby 77.4%Language:HTML 18.4%Language:CSS 3.6%Language:JavaScript 0.6%