Home

cpursley edited this page Jan 29, 2013 · 21 revisions
Clone this wiki locally

Migration from Wordpress

Database migration from a Wordpress blog.

  • In the Gemfile
gem "mysql"
  • Add a database to the config/database.yml
wordpress:
  adapter: mysql
  encoding: utf8
  database: obtvse_example
  username: my_user
  password: my_pass
  host: localhost
  • Finally it could be called from the command line…
rake wordpress:migrate_wordpress[source_db, destiny_db]

That's it :-)

Heroku Tips and Tricks

For an easier way to sync up local and heroku databases, use the Taps gem. http://devcenter.heroku.com/articles/taps

If your blog on Heroku does not update with new edits, it may be cached in Varnish on Heroku. You must issue another push to Heroku to clear the Varnish cache and see your changes.

Obtvse Network

Feel free to add your Obtvse blog to the list: