Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EPF Wiki R1.5 Patch
Revision as of 16:25, 9 October 2008 by Unnamed Poltroon (Talk) (New page: This document describes how to update the first release candidate of 1.5 release (epfwiki_r1_5_rc1.zip) to the 1.5 release. The instruction consists of the following steps: # Download and...)
This document describes how to update the first release candidate of 1.5 release (epfwiki_r1_5_rc1.zip) to the 1.5 release.
The instruction consists of the following steps:
- Download and update EPF Wiki application sources
- Download and install TinyMCE 3.2.0.2
- Upgrade the database
- Restart the webserver
Contents
Download and update EPF Wiki application sources
- Download EPF Wiki 1.5 from the downloads page
- Place zip file in the EPF Wiki application directory
- Extract the zip replacing all already existing files.
Download and install TinyMCE 3.2.0.2
The old version of TinyMCE used by R1.5 RC1 is no longer available so R1.5 was updated to support the latest version 3.2.0.2.
- Donwload tinymce_3_2_0_2.zip
- Extract the contents and copy the folder tinymce\jscripts\tiny_mce to the folder [EPF Wiki App Dir]\public\javascripts\ replacing all already existing files.
Upgrade the database
The patch contains a small database change. Assuming you are using InstantRails you can update the database as follows:
- Start the InstantRails Manager (InstantRails.exe) and select I > Rails Applications > Manage Rails Applications.
- Click the button Create New Rails App
This should open a command prompt window. Now type the following
set RAILS_ENV=production rake db:migrate
These commands update the database. An example of the console output is below.
C:\InstantRails2.0\rails_apps\EPFWiki>set RAILS_ENV=production C:\InstantRails2.0\rails_apps\EPFWiki>rake db:migrate (in C:/InstantRails2.0/rails_apps/EPFWiki) == 3 IpAddressOptional: migrating ============================================= -- change_column(:users, :ip_address, :string, {:limit=>20, :null=>true}) -> 2.4060s == 3 IpAddressOptional: migrated (2.4060s) ====================================
Restart the webserver
To activate the changes you should restart the webserver. Assuming you are using InstantRails this means:
- CTRL-C in the command prompt window for the Mongrel server to end the server process
- Start the InstantRails Manager (InstantRails.exe) and select I > Rails Applications > Manage Rails Applications.
- Check EPF Wiki and click on the button Start with Mongrel