Upgrading to 3.1.x

peakpg edited this page Jan 24, 2012 · 6 revisions
Clone this wiki locally

If you are upgrading to 3.1.5, see this guide instead which has additional details.

Upgrade a project from one version of BrowserCMS to another (i.e. 3.0.0 to 3.1.x) involves these steps.

  • Get the new gem
  • Upgrade the project to get the new code out of the gem.
  • Run migrations
sudo gem install browsercms
cd /path/to/your/project
script/generate browser_cms
rake db:migrate

This will copy all the files from the new browsercms gem into the project. This mainly involves getting which can't be served/run from gems like:

  • Public files, like .html or .css
  • Migrations