<?xml version="1.0" encoding="utf-8" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns="http://purl.org/rss/1.0/">




    



<channel rdf:about="http://weblion.psu.edu/services/documentation/installing-plone/RSS">
  <title>Installing Plone</title>
  <link>http://weblion.psu.edu</link>

  <description>
    
      Documentation and training materials for content managers and content providers. Includes information on managing content using the Plone CMS as well as materials for content strategy and best practices.
    
  </description>

  

  
            <syn:updatePeriod>daily</syn:updatePeriod>
            <syn:updateFrequency>1</syn:updateFrequency>
            <syn:updateBase>2011-02-24T19:26:29Z</syn:updateBase>
        

  <image rdf:resource="http://weblion.psu.edu/logo.png"/>

  <items>
    <rdf:Seq>
      
        <rdf:li rdf:resource="http://weblion.psu.edu/services/videos/screencasts/buildout/install-plone-using-buildout"/>
      
      
        <rdf:li rdf:resource="http://weblion.psu.edu/services/documentation/installing/installing-plone-for-multiple-site-development-on-snow-leopard"/>
      
      
        <rdf:li rdf:resource="http://weblion.psu.edu/services/documentation/installing/installing-plone"/>
      
    </rdf:Seq>
  </items>

</channel>


  <item rdf:about="http://weblion.psu.edu/services/videos/screencasts/buildout/install-plone-using-buildout">
    <title>Install Plone Using Buildout</title>
    <link>http://weblion.psu.edu/services/videos/screencasts/buildout/install-plone-using-buildout</link>
    <description>A 9 minute screencast demonstrating how to use buildout to install Zope and Plone for development and production websites. Demonstrates how to run buildout on Mac and Unix-like operating systems. Highlights useful documentation for all operating systems (including Windows).</description>
    
    <dc:publisher>No publisher</dc:publisher>
    <dc:creator>csw14</dc:creator>
    <dc:rights></dc:rights>
    
      <dc:subject>documentation: installing plone</dc:subject>
    
    <dc:date>2008-12-11T22:25:00Z</dc:date>
    <dc:type>Link</dc:type>
  </item>


  <item rdf:about="http://weblion.psu.edu/services/documentation/installing/installing-plone-for-multiple-site-development-on-snow-leopard">
    <title>Installing Plone for multiple site development on Snow Leopard</title>
    <link>http://weblion.psu.edu/services/documentation/installing/installing-plone-for-multiple-site-development-on-snow-leopard</link>
    <description>This toolset can make your life easier by allowing you to create new sites or replicate live sites for completely isolated local development and testing of varying versions, products, configurations, and data.</description>
    <content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<h2>Overview</h2>
<h3><b>Why would you need this toolset?</b></h3>
<p class="h3">Snow Leopard doesn't ship with all of the dependencies that Plone requires, most notably Python 2.4.  Development of multiple Plone sites can require the use of different versions of Python packages, which could conflict or interact with each other if not kept separate.  (Other approaches may or may not provide enough isolation for your needs - this approach has a high degree of isolation while staying within one operating system.)</p>
<h3><b>Where does this apply?</b></h3>
<p class="h3">This procedure is meant for Plone <b>3</b> development and test environments using Python Buildout on the Apple Macintosh 10.6 Snow Leopard client.</p>
<p class="h3">For multiple Plone <b>4</b> sites on Snow Leopard, run the <a class="external-link" href="http://plone.org/documentation/manual/installing-plone/installing-on-linux-unix-bsd/command-line-options">Unified Installer command line utility,</a> which creates isolated environments with fewer steps.</p>
<h3><b>What does this give you?</b></h3>
<p class="h3">This procedure will give you a toolset which allows you to have separate environments for varying versions of Plone, Plone products, Zope, Python, and Python packages.  The toolset includes Python 2.4, 2.5, 2.6, &amp; 3.0, VirtualEnv, SetupTools, Bootstrap, ZopeSkel, Paster, Buildout, Zope, ElementTree, PIL, and Plone.  The toolset will allow you to create any number of completely separate environments, so you don't have to worry about interactions or repeatability.  This can help you isolate issues &amp; identify their root cause, by creating a separate environment for each change or variable.</p>
<p class="h3">[This will also allow you to create VirtualEnv’s for other Python stack components, for non-Plone projects.]</p>
<p class="h2">This procedure is based on a <a class="external-link" href="http://blog.crowproductions.de/2008/12/14/a-buildout-to-tame-the-snake-pit/" target="_new">blog post</a> by Florian Schulze.</p>
<h2>Steps to install the toolset (one time only)</h2>
<h3>Install Mac development utilities (recommended)</h3>
<ol type="A">
<li>Reboot to reduce risk.</li>
<li>Apple's Xcode, which includes FileMerge:</li>
<p>- <a class="external-link" href="http://developer.apple.com/programs/start/register/create.php" target="_new">Register or sign in</a> using your ITunes ID, then <a class="external-link" href="http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/download?path=%2FDeveloper_Tools%2Fxcode_3.2.2_developer_tools_beta_20728%2Fxcode322_2148_developerdvd.dmg">download</a> (this will take a few minutes), and double click the file &amp; package to install.</p>
<li>MacPorts:</li>
<p>- <a class="external-link" href="http://www.macports.org/" target="_new">Download</a> and double click the file &amp; package to install.</p>
</ol>
<h3>Install the toolset</h3>
<ol type="A">
<li>In Terminal, go to your home directory or wherever you backup important work.</li>
<li>Get the special multiple Python VirtualEnv Buildout code:</li>
<pre>svn co http://svn.plone.org/svn/collective/buildout/python/</pre>
<pre>cd python</pre>
<li>Use the Snow Leopard built-in Python easy_install to get Setuptools, which includes Bootstrap and Buildout:</li>
<pre>sudo easy_install -U setuptools</pre>
<pre>/usr/bin/python bootstrap.py</pre>
<li>Build the toolset (this will take a few minutes):</li>
<pre>bin/buildout</pre>
</ol>
<p class="h2">Now you have the toolset which can create any number of Plone development environments.</p>
<h2>Steps to create a virtual environment for Plone (create as many as you like)</h2>
<h3>Setup a fresh virtual environment</h3>
<ol type="A">
<li>Create a virtual Python environment:</li>
<blockquote>Use a short name to avoid a “Socket error: AF_UNIX path too long”, for example: p3.1.7WLEnv01.<br />(For a naming convention, I use "p" to mean "Plone", 3.1.7 for the Plone version, "WL" for the customer name, "Env" for environment, and "01" so that 99 variations will still sort nicely in a list.)<br /></blockquote>
<pre>bin/virtualenv-2.4 p3.1.7WLEnv01</pre>
<li>Enter the virtual Python environment:</li>
<pre>cd p3.1.7WLEnv01</pre>
<blockquote>[Do not sudo from this point forward.]</blockquote>
<li>Install the Python Image Library:</li>
<pre>bin/easy_install-2.4 -f http://dist.repoze.org/ -U PIL==1.1.6</pre>
<li>Install the templates/skeletons needed to create a Plone Buildout in your virtual environment:</li>
<pre>bin/easy_install-2.4 ZopeSkel</pre>
</ol>
<h3>Create a Zope instance (typically one per virtual environment)</h3>
<blockquote></blockquote>
<ol type="A">
<li>Create a template/skeleton for a Zope instance for Plone 3:</li>
<blockquote>Use a short name to avoid a “Socket error: AF_UNIX path too long”, for example: p3.1.7WLZope01:</blockquote>
<pre>bin/zopeskel plone3_buildout p3.1.7WLZope01</pre>
<blockquote>- Press enter to choose Easy options.<br /> - Enter the Plone version (example: 3.1.7).<br /> - Press enter for default Zope2 Install Path.<br /> - Press enter for default Plone Products Directory.<br /> - Press enter for default Initial Zope Username: admin.<br /> - Choose a password that’s easy to remember, but doesn’t have to be incredibly secure, since it’s local.<br /> - Press enter for default HTTP Port.<br /> - Press enter for default Debug Mode.<br /> - Press enter for default Verbose Security.</blockquote>
<li>Enter the Zope directory:</li>
<pre>cd p3.1.7WLZope01</pre>
<li>Install Buildout in this environment:</li>
<pre>../bin/python bootstrap.py</pre>
<blockquote>[If replicating a site, backup &amp; replace buildout.cfg &amp; Data.fs.]</blockquote>
<li>Build the Zope instance (this will take a few minutes):</li>
<pre>bin/buildout</pre>
</ol>
<h3>Test Zope and add a Plone site</h3>
<ol type="A">
<li>Start your Zope instance in foreground mode.  After a bit, you should see the message "INFO Zope Ready to handle requests".</li>
<pre>bin/instance fg</pre>
<li>Browse to <a class="external-link" href="http://localhost:8080" target="_new">http://localhost:8080</a>.  You should see the Zope Quick Start page.</li>
<li>Browse to <a class="external-link" href="http://localhost:8080/manage" target="_new">http://localhost:8080/manage</a> and login as admin.</li>
<li>Click the drop down near the Add button, and select Plone Site (it will automatically add when selected).</li>
<li>Enter a Plone site Id, Title, &amp; Description.</li>
<li>Click Add Plone Site.</li>
<li>Browse to your new Plone site at http://localhost:8080/[Plone site Id].  You should see the Welcome to Plone home page on your new Plone site.</li>
</ol>
<p>Celebrate!</p>
<p>Also see other <a class="external-link" href="../../trac/weblion/wiki/UsefulMacSoftware">useful Mac software</a>.</p>
<p>Please comment if you can suggest any improvements to this document.</p>]]></content:encoded>
    <dc:publisher>No publisher</dc:publisher>
    <dc:creator>Matt Barkau</dc:creator>
    <dc:rights></dc:rights>
    
      <dc:subject>documentation: installing plone</dc:subject>
    
    <dc:date>2010-04-29T21:10:00Z</dc:date>
    <dc:type>Page</dc:type>
  </item>


  <item rdf:about="http://weblion.psu.edu/services/documentation/installing/installing-plone">
    <title>Installing Plone—Documentation at Plone.org</title>
    <link>http://weblion.psu.edu/services/documentation/installing/installing-plone</link>
    <description>Steve McMahon gives you the basics of installing Plone on Windows, OS X, Linux, *BSD and nearly every other platform.</description>
    
    <dc:publisher>No publisher</dc:publisher>
    <dc:creator>Rose Pruyne</dc:creator>
    <dc:rights></dc:rights>
    
      <dc:subject>documentation: beginners</dc:subject>
    
    
      <dc:subject>documentation: installing plone</dc:subject>
    
    <dc:date>2011-02-24T22:15:00Z</dc:date>
    <dc:type>Link</dc:type>
  </item>





</rdf:RDF>
