Trucker Sample App
This is a sample app that shows how to use the Trucker gem to migrate legacy data.
Installation
-
Copy database.example.yml to database.yml, and edit appropriately.
-
Run rake db:create:all to create your databases.
-
Run mysql -u root trucker_legacy < db/old_blog_posts.sql to import your legacy data.
-
Run rake db:migrate to create the Post table.
-
Run script/server to launch the app.
-
Run rake db:migrate:posts to migrate some old blog posts.
-
That's it!