Sample app that uses the trucker gem to migrate legacy data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
test
.gitignore
LICENSE
README.markdown
Rakefile

README.markdown

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