Sign In
Start Page | Recent Changes | All Pages | Orphan Pages | Junebug Help

How to Upgrade 05x to 06

  1. Backup your database
  2. Update the gem
    
      % gem update radiant
     
  3. Create a new Radiant project using the updated `radiant` command
    
       % radiant -d [mysql|sqlite3|postgresql] /path/to/project
      
  4. Copy your old database configuration (config/database.yml) over to the new project
  5. Execute the following command in the new project’s root directory:
    
       % rake production db:migrate
      

Any plugins you used in the past will need to be upgraded to use the new extension system.

Updating 0.6.x Gem installs

  1. Update your local gems
    
      % sudo gem upgrade
      
  2. Make a backup copy of your Radiant install (just in case)
  3. Update Radiant
    
      % rake radiant:update
      
  4. Check your config/environment.rb file and copy any additions over if necessary
  5. Migrate your database
    
      % rake db:migrate
      

Note if you’re updating from a pre-0.6.5 gem that you’ll need to change the RADIANT_GEM_VERSION constant in config/environment.rb (eg to “0.6.6”) or remove it altogether. Also config/environment.rb has changed in 0.6.5 so you’ll have to copy any pre-0.6.5 modifications from environment.bak into the new environment.rb.

Updating a Radiant install that was frozen to edge

Delete the vendor/radiant folder before upgrading. If you don’t the update will appear to succeed but nothing will actually get upgraded.

—gayathri


Version 7 | Other versions: « older newer » current versions
Page last edited by gomati3 on June 23, 2008 05:47 AM (diff)