Rails 3 Notes |
Getting Started ![]() |
Upgrade Instructions
Please see the version specific instructions below as well.
To update your Webiva installation to the latest version, provided you have pulled it from git, run:
git pull origin master
If you are pulling from a tarball: you’ll need to copy over all your .yml files from the config/ directory as a well as all the uploaded files from the public/system directory to the new download
Upgrading the Databases & Restart
Then run the three database upgrade commands:
rake cms:migrate_system_db
rake cms:migrate_domain_dbs
rake cms:migrate_domain_components
The first will migrate the master Webiva database if necessary, the second will migrate the core of each of the domain dbs, and the last will sync to the latest version of any updated modules. See appendix-a-command-line-reference for more details on individual commands.
Next restart memcached, the background process, and the server:
sudo /etc/init.d/memcached restart
./script/background.rb restart
touch tmp/restart.txt
(Your memcached restart command may be different depending on the system you are own)
Upgrading to 0.99 from 0.90
If you are upgrading to 0.99 from 0.90 please run the following rake task to upgrade the way you configuration information is stored:
$ rake cms:update_domain_databases
Optional: Tracking development
Optional: If you want to pull from the development branch, you can check out and track the development branch as well
git checkout --track -b development origin/development
git pull origin development
Rails 3 Notes |
Getting Started ![]() |

Rails 3 Notes