Changeset 515
- Timestamp:
- 08/05/09 16:24:19 (3 years ago)
- Location:
- enpraxis.educommons/trunk/enpraxis/educommons/docs
- Files:
-
- 2 added
- 9 modified
-
CHANGES.html (modified) (1 diff)
-
IMSContentPackaging.html (modified) (2 diffs)
-
INSTALL.html (modified) (4 diffs)
-
LOCALIZATION.html (modified) (2 diffs)
-
MIGRATION.html (modified) (3 diffs)
-
MIGRATIONS_OLD.html (modified) (9 diffs)
-
PORTLETS.html (modified) (1 diff)
-
SeleniumRCTests.html (added)
-
SETUP.html (added)
-
src/MIGRATIONS_OLD.txt (modified) (6 diffs)
-
src/MIGRATION.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
enpraxis.educommons/trunk/enpraxis/educommons/docs/CHANGES.html
r8 r515 253 253 <hr class="footer" /> 254 254 <a class="reference external" href="CHANGES.txt">View document source</a>. 255 Generated on: 2009-0 1-14 23:51UTC.255 Generated on: 2009-08-05 22:23 UTC. 256 256 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 257 257 -
enpraxis.educommons/trunk/enpraxis/educommons/docs/IMSContentPackaging.html
r8 r515 12 12 13 13 14 <div class="section" id="ims-content-packaging-and-educommons-3- 1-1-final">15 <h1>IMS Content Packaging and eduCommons 3. 1.1-final</h1>14 <div class="section" id="ims-content-packaging-and-educommons-3-2-1"> 15 <h1>IMS Content Packaging and eduCommons 3.2.1</h1> 16 16 <p>This document details how to write IMS Content packages that are compatible with 17 eduCommons 3. 1.1-final.</p>17 eduCommons 3.2.1.</p> 18 18 <p>eduCommons uses version 1.2 of the IMS Content Packaging Specification. XML Schemas 19 19 for the specification can be found at <a class="reference external" href="http://imsglobal.org/xsd/imscp_v1p2.xsd">http://imsglobal.org/xsd/imscp_v1p2.xsd</a> and … … 475 475 <hr class="footer" /> 476 476 <a class="reference external" href="IMSContentPackaging.txt">View document source</a>. 477 Generated on: 2009-0 1-14 23:51UTC.477 Generated on: 2009-08-05 22:23 UTC. 478 478 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 479 479 -
enpraxis.educommons/trunk/enpraxis/educommons/docs/INSTALL.html
r8 r515 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 6 <meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" /> 7 <title>eduCommons 3. 1.1-finalInstallation</title>7 <title>eduCommons 3.2.1 Installation</title> 8 8 <link rel="stylesheet" href="./default.css" type="text/css" /> 9 9 </head> 10 10 <body> 11 <div class="document" id="educommons-3- 1-1-final-installation">12 <h1 class="title">eduCommons 3. 1.1-finalInstallation</h1>11 <div class="document" id="educommons-3-2-1-installation"> 12 <h1 class="title">eduCommons 3.2.1 Installation</h1> 13 13 <h2 class="subtitle" id="installation-instructions">Installation Instructions</h2> 14 14 … … 245 245 <pre class="literal-block"> 246 246 cd /opt/Zope-2.10.5/web/Products 247 sudo tar -zxvf ~/eduCommons-3. 1.1-final.tar.gz247 sudo tar -zxvf ~/eduCommons-3.2.1.tar.gz 248 248 </pre> 249 249 <p>eduCommons includes a number of products which need to be put in the root … … 251 251 <pre class="literal-block"> 252 252 cd /opt/Zope-2.10.5/web/Products 253 sudo mv eduCommons-3. 1.1-final/* .254 sudo rm -rf eduCommons-3. 1.1-final253 sudo mv eduCommons-3.2.1/* . 254 sudo rm -rf eduCommons-3.2.1 255 255 </pre> 256 256 <p>The products that now ship with eduCommons are as follows:</p> … … 453 453 <hr class="footer" /> 454 454 <a class="reference external" href="INSTALL.txt">View document source</a>. 455 Generated on: 2009-0 1-14 23:51UTC.455 Generated on: 2009-08-05 22:23 UTC. 456 456 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 457 457 -
enpraxis.educommons/trunk/enpraxis/educommons/docs/LOCALIZATION.html
r8 r515 25 25 setting from neutral to the appropriate setting for your instance.</p> 26 26 </div> 27 <div class="section" id="localization-with-educommons-3- 1-1-final">28 <h1>Localization with eduCommons 3. 1.1-final</h1>27 <div class="section" id="localization-with-educommons-3-2-1"> 28 <h1>Localization with eduCommons 3.2.1</h1> 29 29 <div class="section" id="overview"> 30 30 <h2>Overview</h2> … … 155 155 <hr class="footer" /> 156 156 <a class="reference external" href="LOCALIZATION.txt">View document source</a>. 157 Generated on: 2009-0 1-14 23:51UTC.157 Generated on: 2009-08-05 22:23 UTC. 158 158 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 159 159 -
enpraxis.educommons/trunk/enpraxis/educommons/docs/MIGRATION.html
r8 r515 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 6 <meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" /> 7 <title>Migrating to eduCommons 3. 1.1-final</title>7 <title>Migrating to eduCommons 3.2.1</title> 8 8 <link rel="stylesheet" href="./default.css" type="text/css" /> 9 9 </head> 10 10 <body> 11 <div class="document" id="migrating-to-educommons-3- 1-1-final">12 <h1 class="title">Migrating to eduCommons 3. 1.1-final</h1>11 <div class="document" id="migrating-to-educommons-3-2-1"> 12 <h1 class="title">Migrating to eduCommons 3.2.1</h1> 13 13 14 14 <div class="section" id="preparation"> … … 18 18 <ol class="arabic simple"> 19 19 <li>VERY IMPORTANT: SAVE A BACKUP OF YOUR Data.fs FILE, which is located in the [old instance home]/var directory of your eduCommons site. This file contains all of the content for your site. (This way you will able to restore your file from this Data.fs file if anything goes wrong.)</li> 20 <li>Using the Zope Management Interface (ZMI), export any customizations you have made in your [old site] --> portal_skins --> custom folder and then delete all files in the custom folder. You can re-import these customizations once you have migrated the site.</li> 21 <li>Verify that your current instance is eduCommons-3.0.2-final.</li> 20 <li>Verify that your current instance is eduCommons-3.1.1-final.</li> 22 21 </ol> 23 22 </blockquote> 24 23 </div> 25 <div class="section" id="migration-of-educommons-3- 0-2-final-to-3-1-1-final">26 <h1>Migration of eduCommons 3. 0.2-final to 3.1.1-final</h1>27 <p>The migration eduCommons from version 3. 0.2-final to version 3.1.1-final24 <div class="section" id="migration-of-educommons-3-1-1-final-to-3-2-1"> 25 <h1>Migration of eduCommons 3.1.1-final to 3.2.1</h1> 26 <p>The migration eduCommons from version 3.1.1-final to version 3.2.1 28 27 includes the following:</p> 29 28 <blockquote> 30 29 <ol class="arabic simple"> 31 <li>Movement of Data.fs file to a new 3.1.1-final instance</li> 32 <li>Migration to Plone 3.0.6</li> 33 <li>Migration to the eduCommons 3.1.1-final instance</li> 30 <li>Pre-migration of Data.fs in version 3.1.1-final</li> 31 <li>Movement of Data.fs file to a new 3.2.1 instance</li> 32 <li>Migration to the eduCommons 3.2.1 instance</li> 33 <li>Export/Import of eduCommons site to a new 3.2.1 instance</li> 34 34 <li>Final steps</li> 35 35 </ol> 36 36 </blockquote> 37 37 </div> 38 <div class="section" id="movement-of-data-fs-file-to-a-new-3-1-1-final-instance"> 39 <h1>Movement of Data.fs file to a new 3.1.1-final instance</h1> 40 <p>For the first step, you will move the Data.fs file from the old instance to 41 the new instance. First of all, install an eduCommons-3.1.1-final 42 instance using the installations instructions found in [new instance home]/eduCommons/docs/. Stop both sites. Then 43 copy the Data.fs file from the var directory of the old site to the 44 var directory of the new site:</p> 45 <pre class="literal-block"> 46 sudo cp -rvfp [old instance home]/var/Data.fs [new instance home]/var/ 47 </pre> 48 </div> 49 <div class="section" id="migration-of-plone"> 50 <h1>Migration of Plone</h1> 51 <p>The following steps need to be performed in the ZMI, as eduCommons-3.1.1-final utlizes Plone 3.0.6, instead of 3.0.4:</p> 38 <div class="section" id="pre-migration-of-data-fs-in-version-3-1-1-final"> 39 <h1>Pre-migration of Data.fs in version 3.1.1-final</h1> 40 <p>For this step, you will need:</p> 41 <ul class="simple"> 42 <li>contentmigration Plone Add-on Product, available at <a class="reference external" href="http://pypi.python.org/packages/source/P/Products.contentmigration/Products.contentmigration-1.1.zip">http://pypi.python.org/packages/source/P/Products.contentmigration/Products.contentmigration-1.1.zip</a></li> 43 <li>to copy the migration source code found in version 3.2.1. The file is located at eduCommons/extras/PreMigrate.py<ul> 44 <li>Copy this into [old instance]/Products/eduCommons/Extensions</li> 45 </ul> 46 </li> 47 </ul> 48 <p>Add contentmigration product by following these steps:</p> 52 49 <blockquote> 53 50 <ol class="arabic simple"> 54 <li>Open your 3.1.1-final eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.)</li> 55 <li>Run portal_migration migration (click the upgrade button on the migrate tab)</li> 51 <li>Download the product from the aforementioned URL</li> 52 <li>Unzip the product into [old_instance]/Products</li> 53 <li>Restart zope</li> 54 </ol> 55 </blockquote> 56 <p>Run the migration script by following these steps:</p> 57 <blockquote> 58 <ol class="arabic simple"> 59 <li>Open your 3.1.1-final eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.)</li> 60 <li>From the drop down menu, select "External method" and click the Add button.</li> 61 <li>Enter the following parameters:<ul> 62 <li>Id: PreMigrate</li> 63 <li>Title: PreMigrate</li> 64 <li>Module Name: PreMigrate</li> 65 <li>Function Name: pre_migrate_3_1_1_to_3_2_1</li> 66 </ul> 67 </li> 68 <li>Click Add</li> 69 <li>Click on the PreMigrate script you just added</li> 70 <li>Click the test tab.</li> 71 <li>Verify that the method ran successfully. (It should give you feedback.)</li> 56 72 </ol> 57 73 </blockquote> 58 74 </div> 59 <div class="section" id="installation-of-filesystemstorage-product"> 60 <h1>Installation of FileSystemStorage Product</h1> 61 <p>At this point in time, we need to ensure that the FileSystemStorage AddOn Product is installed:</p> 75 <div class="section" id="movement-of-data-fs-file-to-a-new-3-2-1-instance"> 76 <h1>Movement of Data.fs file to a new 3.2.1 instance</h1> 77 <p>For this step, you will move the Data.fs file from the old instance to 78 the new instance. First of all, install an eduCommons-3.2.1 79 instance using the installations instructions found in [new instance home]/eduCommons/docs/. Stop both sites. Then 80 copy the Data.fs file from the var directory of the old site to the 81 var/filestorage directory of the new site:</p> 82 <pre class="literal-block"> 83 sudo cp -rvfp [old instance home]/var/Data.fs [new instance home]/var/filestorage 84 </pre> 85 </div> 86 <div class="section" id="migration-to-educommons-3-2-1-instance"> 87 <h1>Migration to eduCommons 3.2.1 instance</h1> 88 <p>eduCommons 3.2.1 uses the portal_setup tool to perform the necessary upgrade from 3.1.1 to 3.2.1. Due to the fact that eduCommons and it's dependencies were moved to python eggs, we must start with a new eduCommons site. The migration script will then copy and past content and relevant settings to the new installation:</p> 62 89 <blockquote> 63 90 <ol class="arabic simple"> 64 <li>Open your 3.1.1-final eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.)</li> 65 <li>Navigate to portal_quickinstaller</li> 66 <li>Select FileSystemStorage</li> 67 <li>Press Install</li> 91 <li>Navigate to the root of your ZMI instance and create a new eduCommons site called eduCommons321</li> 92 <li>Open your new 3.2.1 eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.)</li> 93 <li>Navigate to portal_setup</li> 94 <li>Press the 'Upgrades' tab</li> 95 <li>From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button.</li> 96 <li>Choose the 'Migration :: 3.1.1 to 3.2.1' option</li> 97 <li>Press Upgrade</li> 68 98 </ol> 69 99 </blockquote> 70 100 </div> 71 <div class="section" id=" migration-of-the-educommons-3-1-1-final-instance">72 <h1> Migration of the eduCommons 3.1.1-finalinstance</h1>73 <p> eduCommons 3.1.1-final uses the portal_setup tool to perform the necessary upgrade from 3.0.2 to 3.1.1-final:</p>101 <div class="section" id="export-import-of-educommons-site-to-a-new-3-2-1-instance"> 102 <h1>Export/Import of eduCommons site to a new 3.2.1 instance</h1> 103 <p>You are now ready to transfer your migrated instance to the production environment.</p> 74 104 <blockquote> 75 105 <ol class="arabic simple"> 76 <li>Open your 3.1.1-final eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.)</li> 77 <li>Navigate to portal_setup</li> 78 <li>Press the 'Upgrades' tab</li> 79 <li>From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button.</li> 80 <li>Choose the 'Migration :: 3.0.2 to 3.1.0' option</li> 81 <li>Press Upgrade</li> 106 <li>Navigate to the root of your ZMI instance</li> 107 <li>Select the checkbox next to your new 3.2.1 eduCommons site</li> 108 <li>Press Import/Export</li> 109 <li>If your production environment is on the same server as your migration environment, choose 'Save file to server', else 110 Download the file to your local machine. Dependent on the size of your site, this process may take a long time.</li> 111 <li>Move the .zexp into the import directory of your production site [production_site]parts/instance/import</li> 112 <li>Navigate to the ZMI of your production site</li> 113 <li>Press Import/Export</li> 114 <li>Select your .zexp from the drop down list, and press Import. Dependent on the size of your site, this process may take a long time.</li> 115 <li>If desired, rename your imported eduCommons321 site.</li> 82 116 </ol> 83 117 </blockquote> … … 92 126 <hr class="footer" /> 93 127 <a class="reference external" href="MIGRATION.txt">View document source</a>. 94 Generated on: 2009-0 1-14 23:51UTC.128 Generated on: 2009-08-05 22:23 UTC. 95 129 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 96 130 -
enpraxis.educommons/trunk/enpraxis/educommons/docs/MIGRATIONS_OLD.html
r8 r515 5 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 6 <meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" /> 7 <title> Migrating to eduCommons 3.0.2</title>7 <title></title> 8 8 <link rel="stylesheet" href="./default.css" type="text/css" /> 9 9 </head> 10 10 <body> 11 <div class="document" id="migrating-to-educommons-3-0-2"> 12 <h1 class="title">Migrating to eduCommons 3.0.2</h1> 11 <div class="document"> 13 12 13 14 <div class="section" id="migrating-to-educommons-3-1-1"> 15 <h1>Migrating to eduCommons 3.1.1</h1> 14 16 <div class="section" id="preparation"> 15 <h1>Preparation</h1> 17 <h2>Preparation</h2> 18 <p>A few things you should do before beginning the migration:</p> 19 <blockquote> 20 <ol class="arabic simple"> 21 <li>VERY IMPORTANT: SAVE A BACKUP OF YOUR Data.fs FILE, which is located in the [old instance home]/var directory of your eduCommons site. This file contains all of the content for your site. (This way you will able to restore your file from this Data.fs file if anything goes wrong.)</li> 22 <li>Using the Zope Management Interface (ZMI), export any customizations you have made in your [old site] --> portal_skins --> custom folder and then delete all files in the custom folder. You can re-import these customizations once you have migrated the site.</li> 23 <li>Verify that your current instance is eduCommons-3.0.2-final.</li> 24 </ol> 25 </blockquote> 26 </div> 27 <div class="section" id="migration-of-educommons-3-0-2-final-to-3-1-1"> 28 <h2>Migration of eduCommons 3.0.2-final to 3.1.1</h2> 29 <p>The migration eduCommons from version 3.0.2-final to version 3.1.1 30 includes the following:</p> 31 <blockquote> 32 <ol class="arabic simple"> 33 <li>Movement of Data.fs file to a new 3.1.1 instance</li> 34 <li>Migration to Plone 3.0.6</li> 35 <li>Migration to the eduCommons 3.1.1 instance</li> 36 <li>Final steps</li> 37 </ol> 38 </blockquote> 39 </div> 40 <div class="section" id="movement-of-data-fs-file-to-a-new-3-1-1-instance"> 41 <h2>Movement of Data.fs file to a new 3.1.1 instance</h2> 42 <p>For the first step, you will move the Data.fs file from the old instance to 43 the new instance. First of all, install an eduCommons-3.1.1 44 instance using the installations instructions found in [new instance home]/eduCommons/docs/. Stop both sites. Then 45 copy the Data.fs file from the var directory of the old site to the 46 var directory of the new site:</p> 47 <pre class="literal-block"> 48 sudo cp -rvfp [old instance home]/var/Data.fs [new instance home]/var/ 49 </pre> 50 </div> 51 <div class="section" id="migration-of-plone"> 52 <h2>Migration of Plone</h2> 53 <p>The following steps need to be performed in the ZMI, as eduCommons-3.1.1 utlizes Plone 3.0.6, instead of 3.0.4:</p> 54 <blockquote> 55 <ol class="arabic simple"> 56 <li>Open your 3.1.1 eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.)</li> 57 <li>Run portal_migration migration (click the upgrade button on the migrate tab)</li> 58 </ol> 59 </blockquote> 60 </div> 61 <div class="section" id="installation-of-filesystemstorage-product"> 62 <h2>Installation of FileSystemStorage Product</h2> 63 <p>At this point in time, we need to ensure that the FileSystemStorage AddOn Product is installed:</p> 64 <blockquote> 65 <ol class="arabic simple"> 66 <li>Open your 3.1.1 eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.)</li> 67 <li>Navigate to portal_quickinstaller</li> 68 <li>Select FileSystemStorage</li> 69 <li>Press Install</li> 70 </ol> 71 </blockquote> 72 </div> 73 <div class="section" id="migration-of-the-educommons-3-1-1-instance"> 74 <h2>Migration of the eduCommons 3.1.1 instance</h2> 75 <p>eduCommons 3.1.1 uses the portal_setup tool to perform the necessary upgrade from 3.0.2 to 3.1.1:</p> 76 <blockquote> 77 <ol class="arabic simple"> 78 <li>Open your 3.1.1 eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.)</li> 79 <li>Navigate to portal_setup</li> 80 <li>Press the 'Upgrades' tab</li> 81 <li>From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button.</li> 82 <li>Choose the 'Migration :: 3.0.2 to 3.1.0' option</li> 83 <li>Press Upgrade</li> 84 </ol> 85 </blockquote> 86 </div> 87 <div class="section" id="final-steps"> 88 <h2>Final Steps</h2> 89 <blockquote> 90 Your site should now be migrated. Navigate to your site in the browser and ensure it has migrated.</blockquote> 91 </div> 92 </div> 93 <div class="section" id="migrating-to-educommons-3-0-2"> 94 <h1>Migrating to eduCommons 3.0.2</h1> 95 <div class="section" id="id1"> 96 <h2>Preparation</h2> 16 97 <p>A few things you should do before beginning the migration:</p> 17 98 <blockquote> … … 24 105 </div> 25 106 <div class="section" id="migration-of-educommons-2-3-1-final-to-3-0-2"> 26 <h 1>Migration of eduCommons 2.3.1-final to 3.0.2</h1>27 <p>The migration eduCommons from version 2.3.1-final to version 3.1.1 -final107 <h2>Migration of eduCommons 2.3.1-final to 3.0.2</h2> 108 <p>The migration eduCommons from version 2.3.1-final to version 3.1.1 28 109 includes the following:</p> 29 110 <blockquote> … … 32 113 <li>Movement of Data.fs file to a new 3.0.2 instance</li> 33 114 <li>Migration of Plone 3.0.4</li> 34 <li>Migration of the eduCommons 3.1.1 -finalinstance</li>115 <li>Migration of the eduCommons 3.1.1 instance</li> 35 116 <li>Final steps</li> 36 117 </ol> … … 38 119 </div> 39 120 <div class="section" id="pre-migration-of-data-fs-in-version-2-3-1-final"> 40 <h 1>Pre-migration of Data.fs in version 2.3.1-final</h1>41 <p>For this step, you will need to copy the migration source code found in version 3.1.1 -final. The file is located at eduCommons/extras/PreMigrate.py .121 <h2>Pre-migration of Data.fs in version 2.3.1-final</h2> 122 <p>For this step, you will need to copy the migration source code found in version 3.1.1. The file is located at eduCommons/extras/PreMigrate.py . 42 123 Copy this into [old instance]/Products/eduCommons/Extensions.</p> 43 124 <p>Run the migration script by following these steps:</p> … … 61 142 </div> 62 143 <div class="section" id="movement-of-data-fs-file-to-a-new-3-0-2-instance"> 63 <h 1>Movement of Data.fs file to a new 3.0.2 instance</h1>144 <h2>Movement of Data.fs file to a new 3.0.2 instance</h2> 64 145 <p>For the next step you will move the Data.fs file from the old instance to 65 146 the new instance. First of all, install an eduCommons-3.0.2 … … 71 152 </pre> 72 153 </div> 73 <div class="section" id=" migration-of-plone">74 <h 1>Migration of Plone</h1>75 <p>The following steps need to be performed in the ZMI, as eduCommons-3.1.1 -finalutlizes Plone 3.0.4, instead of 2.5.x:</p>154 <div class="section" id="id2"> 155 <h2>Migration of Plone</h2> 156 <p>The following steps need to be performed in the ZMI, as eduCommons-3.1.1 utlizes Plone 3.0.4, instead of 2.5.x:</p> 76 157 <blockquote> 77 158 <ol class="arabic simple"> … … 84 165 </div> 85 166 <div class="section" id="migration-of-the-educommons-3-0-2-instance"> 86 <h 1>Migration of the eduCommons 3.0.2 instance</h1>87 <p>Run the migration script included with the 3.1.1 -finalinstance by following these steps:</p>167 <h2>Migration of the eduCommons 3.0.2 instance</h2> 168 <p>Run the migration script included with the 3.1.1 instance by following these steps:</p> 88 169 <blockquote> 89 170 <ol class="arabic simple"> 90 171 <li>Copy the migration script found in Products/eduCommons/extras/Migrate.py to [new_instance]/Extensions/</li> 91 <li>Open your 3.1.1 -finaleduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.)</li>172 <li>Open your 3.1.1 eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.)</li> 92 173 <li>Navigate to the root of the ZMI (click the Root Folder link located in the upper left portion of the page)</li> 93 174 <li>From the drop down menu, select "External method" and click the Add button.</li> … … 108 189 </blockquote> 109 190 </div> 110 <div class="section" id=" final-steps">111 <h 1>Final Steps</h1>191 <div class="section" id="id3"> 192 <h2>Final Steps</h2> 112 193 <blockquote> 113 194 <p>Your site should now be migrated. Navigate to your site in the browser and ensure it has migrated. … … 138 219 </div> 139 220 </div> 221 </div> 140 222 <div class="footer"> 141 223 <hr class="footer" /> 142 224 <a class="reference external" href="MIGRATIONS_OLD.txt">View document source</a>. 143 Generated on: 2009-0 1-14 23:51UTC.225 Generated on: 2009-08-05 22:23 UTC. 144 226 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 145 227 -
enpraxis.educommons/trunk/enpraxis/educommons/docs/PORTLETS.html
r8 r515 158 158 <hr class="footer" /> 159 159 <a class="reference external" href="PORTLETS.txt">View document source</a>. 160 Generated on: 2009-0 1-14 23:51UTC.160 Generated on: 2009-08-05 22:23 UTC. 161 161 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 162 162 -
enpraxis.educommons/trunk/enpraxis/educommons/docs/src/MIGRATIONS_OLD.txt
r8 r515 1 =================================== 2 Migrating to eduCommons 3.1.1 3 =================================== 4 5 6 Preparation 7 ----------- 8 A few things you should do before beginning the migration: 9 10 1. VERY IMPORTANT: SAVE A BACKUP OF YOUR Data.fs FILE, which is located in the [old instance home]/var directory of your eduCommons site. This file contains all of the content for your site. (This way you will able to restore your file from this Data.fs file if anything goes wrong.) 11 12 2. Using the Zope Management Interface (ZMI), export any customizations you have made in your [old site] --> portal_skins --> custom folder and then delete all files in the custom folder. You can re-import these customizations once you have migrated the site. 13 14 3. Verify that your current instance is eduCommons-3.0.2-final. 15 16 17 Migration of eduCommons 3.0.2-final to 3.1.1 18 -------------------------------------------------- 19 20 The migration eduCommons from version 3.0.2-final to version 3.1.1 21 includes the following: 22 23 1. Movement of Data.fs file to a new 3.1.1 instance 24 25 2. Migration to Plone 3.0.6 26 27 3. Migration to the eduCommons 3.1.1 instance 28 29 4. Final steps 30 31 Movement of Data.fs file to a new 3.1.1 instance 32 ------------------------------------------------------ 33 34 For the first step, you will move the Data.fs file from the old instance to 35 the new instance. First of all, install an eduCommons-3.1.1 36 instance using the installations instructions found in [new instance home]/eduCommons/docs/. Stop both sites. Then 37 copy the Data.fs file from the var directory of the old site to the 38 var directory of the new site: 39 :: 40 41 sudo cp -rvfp [old instance home]/var/Data.fs [new instance home]/var/ 42 43 44 Migration of Plone 45 ------------------ 46 The following steps need to be performed in the ZMI, as eduCommons-3.1.1 utlizes Plone 3.0.6, instead of 3.0.4: 47 48 1. Open your 3.1.1 eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.) 49 50 2. Run portal_migration migration (click the upgrade button on the migrate tab) 51 52 53 Installation of FileSystemStorage Product 54 ----------------------------------------- 55 At this point in time, we need to ensure that the FileSystemStorage AddOn Product is installed: 56 57 1. Open your 3.1.1 eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.) 58 59 2. Navigate to portal_quickinstaller 60 61 3. Select FileSystemStorage 62 63 4. Press Install 64 65 Migration of the eduCommons 3.1.1 instance 66 ------------------------------------------------ 67 eduCommons 3.1.1 uses the portal_setup tool to perform the necessary upgrade from 3.0.2 to 3.1.1: 68 69 1. Open your 3.1.1 eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 70 2. Navigate to portal_setup 71 3. Press the 'Upgrades' tab 72 4. From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button. 73 5. Choose the 'Migration :: 3.0.2 to 3.1.0' option 74 6. Press Upgrade 75 76 77 Final Steps 78 ----------- 79 80 Your site should now be migrated. Navigate to your site in the browser and ensure it has migrated. 81 82 1 83 =================================== 2 84 Migrating to eduCommons 3.0.2 … … 18 100 -------------------------------------------------- 19 101 20 The migration eduCommons from version 2.3.1-final to version $$version$$102 The migration eduCommons from version 2.3.1-final to version 3.1.1 21 103 includes the following: 22 104 … … 27 109 3. Migration of Plone 3.0.4 28 110 29 4. Migration of the eduCommons $$version$$instance111 4. Migration of the eduCommons 3.1.1 instance 30 112 31 113 5. Final steps … … 34 116 ----------------------------------------------- 35 117 36 For this step, you will need to copy the migration source code found in version $$version$$. The file is located at eduCommons/extras/PreMigrate.py .118 For this step, you will need to copy the migration source code found in version 3.1.1. The file is located at eduCommons/extras/PreMigrate.py . 37 119 Copy this into [old instance]/Products/eduCommons/Extensions. 38 120 … … 74 156 Migration of Plone 75 157 ------------------ 76 The following steps need to be performed in the ZMI, as eduCommons- $$version$$utlizes Plone 3.0.4, instead of 2.5.x:158 The following steps need to be performed in the ZMI, as eduCommons-3.1.1 utlizes Plone 3.0.4, instead of 2.5.x: 77 159 78 160 1. Open your 3.0.2 eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.) … … 83 165 Migration of the eduCommons 3.0.2 instance 84 166 ------------------------------------------------ 85 Run the migration script included with the $$version$$instance by following these steps:167 Run the migration script included with the 3.1.1 instance by following these steps: 86 168 87 169 1. Copy the migration script found in Products/eduCommons/extras/Migrate.py to [new_instance]/Extensions/ 88 2. Open your $$version$$eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.)170 2. Open your 3.1.1 eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 89 171 3. Navigate to the root of the ZMI (click the Root Folder link located in the upper left portion of the page) 90 172 4. From the drop down menu, select "External method" and click the Add button. -
enpraxis.educommons/trunk/enpraxis/educommons/docs/src/MIGRATION.txt
r8 r515 10 10 1. VERY IMPORTANT: SAVE A BACKUP OF YOUR Data.fs FILE, which is located in the [old instance home]/var directory of your eduCommons site. This file contains all of the content for your site. (This way you will able to restore your file from this Data.fs file if anything goes wrong.) 11 11 12 2. Using the Zope Management Interface (ZMI), export any customizations you have made in your [old site] --> portal_skins --> custom folder and then delete all files in the custom folder. You can re-import these customizations once you have migrated the site. 13 14 3. Verify that your current instance is eduCommons-3.0.2-final. 12 2. Verify that your current instance is eduCommons-3.1.1-final. 15 13 16 14 17 Migration of eduCommons 3. 0.2-final to $$version$$15 Migration of eduCommons 3.1.1-final to $$version$$ 18 16 -------------------------------------------------- 19 17 20 The migration eduCommons from version 3. 0.2-final to version $$version$$18 The migration eduCommons from version 3.1.1-final to version $$version$$ 21 19 includes the following: 22 20 23 1. Movement of Data.fs file to a new $$version$$ instance21 1. Pre-migration of Data.fs in version 3.1.1-final 24 22 25 2. M igration to Plone 3.0.623 2. Movement of Data.fs file to a new $$version$$ instance 26 24 27 25 3. Migration to the eduCommons $$version$$ instance 28 26 29 4. Final steps 27 4. Export/Import of eduCommons site to a new $$version$$ instance 28 29 5. Final steps 30 31 Pre-migration of Data.fs in version 3.1.1-final 32 ----------------------------------------------- 33 34 For this step, you will need: 35 36 * contentmigration Plone Add-on Product, available at http://pypi.python.org/packages/source/P/Products.contentmigration/Products.contentmigration-1.1.zip 37 38 * to copy the migration source code found in version 3.2.1. The file is located at eduCommons/extras/PreMigrate.py 39 40 * Copy this into [old instance]/Products/eduCommons/Extensions 41 42 Add contentmigration product by following these steps: 43 44 1. Download the product from the aforementioned URL 45 46 2. Unzip the product into [old_instance]/Products 47 48 3. Restart zope 49 50 Run the migration script by following these steps: 51 52 1. Open your 3.1.1-final eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 53 54 2. From the drop down menu, select "External method" and click the Add button. 55 56 3. Enter the following parameters: 57 58 * Id: PreMigrate 59 * Title: PreMigrate 60 * Module Name: PreMigrate 61 * Function Name: pre_migrate_3_1_1_to_3_2_1 62 63 4. Click Add 64 65 5. Click on the PreMigrate script you just added 66 67 6. Click the test tab. 68 69 7. Verify that the method ran successfully. (It should give you feedback.) 70 30 71 31 72 Movement of Data.fs file to a new $$version$$ instance 32 73 ------------------------------------------------------ 33 74 34 For th e firststep, you will move the Data.fs file from the old instance to75 For this step, you will move the Data.fs file from the old instance to 35 76 the new instance. First of all, install an eduCommons-$$version$$ 36 77 instance using the installations instructions found in [new instance home]/eduCommons/docs/. Stop both sites. Then 37 78 copy the Data.fs file from the var directory of the old site to the 38 var directory of the new site:79 var/filestorage directory of the new site: 39 80 :: 40 81 41 sudo cp -rvfp [old instance home]/var/Data.fs [new instance home]/var/ 82 sudo cp -rvfp [old instance home]/var/Data.fs [new instance home]/var/filestorage 42 83 43 84 44 Migration of Plone45 ------------------ 46 The following steps need to be performed in the ZMI, as eduCommons-$$version$$ utlizes Plone 3.0.6, instead of 3.0.4:85 Migration to eduCommons $$version$$ instance 86 ------------------------------------------------ 87 eduCommons $$version$$ uses the portal_setup tool to perform the necessary upgrade from 3.1.1 to $$version$$. Due to the fact that eduCommons and it's dependencies were moved to python eggs, we must start with a new eduCommons site. The migration script will then copy and past content and relevant settings to the new installation: 47 88 48 1. Open your $$version$$ eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.) 49 50 2. Run portal_migration migration (click the upgrade button on the migrate tab) 89 1. Navigate to the root of your ZMI instance and create a new eduCommons site called eduCommons321 90 2. Open your new $$version$$ eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 91 3. Navigate to portal_setup 92 4. Press the 'Upgrades' tab 93 5. From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button. 94 6. Choose the 'Migration :: 3.1.1 to 3.2.1' option 95 7. Press Upgrade 51 96 52 97 53 Installation of FileSystemStorage Product 54 ----------------------------------------- 55 At this point in time, we need to ensure that the FileSystemStorage AddOn Product is installed: 98 Export/Import of eduCommons site to a new $$version$$ instance 99 -------------------------------------------------------------- 56 100 57 1. Open your $$version$$ eduCommons site in the ZMI. (click educommons setup, then click Zope Management Interface.) 101 You are now ready to transfer your migrated instance to the production environment. 58 102 59 2. Navigate to portal_quickinstaller 60 61 3. Select FileSystemStorage 62 63 4. Press Install 64 65 Migration of the eduCommons $$version$$ instance 66 ------------------------------------------------ 67 eduCommons $$version$$ uses the portal_setup tool to perform the necessary upgrade from 3.0.2 to $$version$$: 68 69 1. Open your $$version$$ eduCommons site in the ZMI. (click educommons Setup, then click Zope Management Interface.) 70 2. Navigate to portal_setup 71 3. Press the 'Upgrades' tab 72 4. From the drop down menu, select 'Products.eduCommons:default' and click Choose Profile button. 73 5. Choose the 'Migration :: 3.0.2 to 3.1.0' option 74 6. Press Upgrade 75 103 1. Navigate to the root of your ZMI instance 104 2. Select the checkbox next to your new $$version$$ eduCommons site 105 3. Press Import/Export 106 4. If your production environment is on the same server as your migration environment, choose 'Save file to server', else 107 Download the file to your local machine. Dependent on the size of your site, this process may take a long time. 108 5. Move the .zexp into the import directory of your production site [production_site]parts/instance/import 109 6. Navigate to the ZMI of your production site 110 7. Press Import/Export 111 8. Select your .zexp from the drop down list, and press Import. Dependent on the size of your site, this process may take a long time. 112 9. If desired, rename your imported eduCommons321 site. 76 113 77 114 Final Steps
