|
SimpleLog wiki
Installing SimpleLog Upgrading Working with themes
How to
Troubleshooting Development & resources |
UpgradingOlderBACK UP YOUR CURRENT SITE! Files, database, all of it! BACK UP! BACK UP! Important: If you're using MediaTemple Grid Server (gs) see this after upgrading: Using SimpleLog with MT(gs) If you are upgrading from 1.0 or lower => currentIMPORTANT: Do not copy over the new simplelog folder yet and do not skip any of these steps! 1. From the new simplelog directory, copy lib/tasks/simplelog_themer.rake to the same location in your current SimpleLog install, lib/tasks 2. Run this rake task from your current install: rake simplelog:themer
This task will create a directory called 'onepointoh' in the root of your current SimpleLog install. This directory is a theme, created from your current SimpleLog site. It contains updated views (with correct preference references), all of your stylesheets, images and javascript files. 3. Copy the 'onepointoh' directory into the new simplelog directory/themes directory. 4. Copy config/site.rb and config/database.yml from your current SimpleLog install, to the new simplelog directory/config 5. Now copy the contents of the new simplelog directory over to your current install, replacing all files, and chmod: chmod 755 log/ chmod 755 theme_backup/ chmod 755 public/dispatch.fcgi 6. Open config/server.rb (not site.rb) and confirm the values of the two options there. 7. Run the DB upgrade rake task: rake simplelog:upgrade
8. Restart your server. 9. Log into your administration section and visit the preferences section. Change your theme from 'Default' to 'Onepointoh' and save. |