<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Happy Web Diva &#187; Mac/OSX</title>
	<atom:link href="http://www.happywebdiva.com/category/macosx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.happywebdiva.com</link>
	<description>Musings of Anna Belle Leiserson</description>
	<lastBuildDate>Fri, 20 Nov 2009 02:56:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Install Liferay on Mac OSX</title>
		<link>http://www.happywebdiva.com/2008/11/29/how-to-install-liferay-on-mac-osx/</link>
		<comments>http://www.happywebdiva.com/2008/11/29/how-to-install-liferay-on-mac-osx/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 15:58:20 +0000</pubDate>
		<dc:creator>Anna Belle</dc:creator>
				<category><![CDATA[Mac/OSX]]></category>

		<guid isPermaLink="false">http://www.happywebdiva.com/2008/11/29/how-to-install-liferay-on-mac-osx/</guid>
		<description><![CDATA[A few nights ago, with heart in mouth, I installed Liferay, the widely acclaimed open source portal, on my laptop. This is not any old laptop. It’s my trusty Mac, configured jut so – in particular as an Apache server (localhost only) using MAMP. I know enough about Liferay to know it doesn’t run on [...]]]></description>
			<content:encoded><![CDATA[<p>A few nights ago, with heart in mouth, I installed <a href="ttp://www.liferay.com/">Liferay</a>, the widely acclaimed open source portal, on my laptop.  This is not any old laptop.  It’s my trusty Mac, configured jut so – in particular as an Apache server (localhost only) using <a href="http://www.happywebdiva.com/2008/01/04/mamp-where-have-you-been-all-my-life/">MAMP</a>.  I know enough about Liferay to know it doesn’t run on standard Apache, but rather Apache <a href="http://tomcat.apache.org/">Tomcat</a>.  And while I love the name (memories of the many marvelous male cats dancing through my mind) about all I know about Tomcat is it’s Java based.  So I also had visions of Liferay blowing up my machine.</p>
<p><strong>Why run this kind of risk?</strong> I could claim being game for any popular open source technology, and while I wish this were the case, who has that kind of time?  No.  It’s because of a work project I’m part of.  A group needs an online collaboration tool, including document sharing.  More to the point, they need it quickly.  Drupal (as of version 6) is weak at document sharing, though strong on some of the group’s other needs.  Several of my IT colleagues know and like Liferay, and think it may be a good match for document sharing.  They tell me it’s a competitor to SharePoint.  So we’re off an adventure &#8212; exploring whether to use it, Drupal or a combination.</p>
<p><strong>Basic Instructions </strong></p>
<p>My laptop survived.  In fact, it turned out there’s a very simple way to do this.  I used the <a href="http://www.apple.com/downloads/macosx/unix_open_source/bitnamiliferaystack.html">BitNami Liferay Stack</a> for OSX 10.4 or later.  I considered doing it from scratch, but my eyes started to cross reading the documentation, plus I don&#8217;t aspire to be a Liferay expert.</p>
<p>If you&#8217;re considering doing this too, the only caution is to be sure your MAMP (or other server setup) is running on a port other than 8080 – the port Liferay will use.  MAMP defaults to 8888, so if you haven’t changed that, it should be straightforward.</p>
<p>The result?  A cool new technology on my laptop in just a few minutes.  While I’m digging into Liferay in more of a stakeholder mode, setting up pages and &#8220;applications&#8221; like a software <span>hussy</span>, I’m also exploring how to <a href="http://jupitertfn.googlecode.com/svn/trunk/Docs/Liferay%20Themes.pdf">change its themes</a>.  It looks fairly straightforward for someone who has dealt with Drupal or WordPress themes.</p>
<p>One final tip: the themes in a BitNami installation will be buried deep in the following directory:<br />
[your liferay folder] &gt; apache-tomcat &gt; webapps &gt; liferay &gt; html &gt; themes</p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happywebdiva.com/2008/11/29/how-to-install-liferay-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Of Tornadoes and Drupal Multi-site Installs</title>
		<link>http://www.happywebdiva.com/2008/02/06/of-tornadoes-and-drupal-multi-site-installs/</link>
		<comments>http://www.happywebdiva.com/2008/02/06/of-tornadoes-and-drupal-multi-site-installs/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 02:34:34 +0000</pubDate>
		<dc:creator>Anna Belle</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Mac/OSX]]></category>

		<guid isPermaLink="false">http://www.happywebdiva.com/2008/02/06/of-tornadoes-and-drupal-multi-site-installs/</guid>
		<description><![CDATA[Late last night, in the time between running down to our nasty basement to avoid tornadoes and some big storm action, I got to coding. I couldn&#8217;t sleep and it was a pleasant distraction &#8212; not to mention my laptop wasn&#8217;t plugged in, so I didn&#8217;t have to worry about electricity. My Drupal-enthusiast friends and [...]]]></description>
			<content:encoded><![CDATA[<p>Late last night, in the time between  running down to our nasty basement to avoid <a href="http://www.nytimes.com/2008/02/07/us/07tornado.html?ex=1360126800&amp;en=88afc753ec697a30&amp;ei=5124&amp;partner=permalink&amp;exprod=permalink">tornadoes</a> and some big storm action, I got to coding.    I couldn&#8217;t sleep and it was a pleasant distraction &#8212; not to mention my laptop wasn&#8217;t plugged in, so I didn&#8217;t have to worry about electricity. My Drupal-enthusiast friends and I have been trying to do a multi-site install for a few weeks, and to my amazement, with a howling wind, hail, etc., the last piece finally fell into place.  One of my pals had said the issue was symbolic links.  Bingo.  That was it.</p>
<p>To back up, a multi-site install means you set up the core of Drupal just once, and then you can easily create lots of other sites using that one installation.  The other sites don&#8217;t even have to have the same domain.  It&#8217;s very cool.   For example, at work I hope to set up one master Drupal site, and then create instances for each of the labs. After that, the labs can maintain their own sites.</p>
<p>For now all I&#8217;ve done is to set it up on my Macbook using localhost.  I made it as modest as possible &#8212; just using one database and subdirectories.  But having worked through this, it will be much easier to get it working in production.</p>
<p>Here are the gory details.</p>
<ol>
<li>Go to the &#8220;sites/&#8221; directory and set up your new directory.  At first, I named it &#8220;sites/site2/&#8221;, but that turned out to be a mistake.  Given that the URL I was going for was http://localhost:8888/drupal/site2/, the correct name was &#8220;sites/8888.localhost.drupal.site2/&#8221;.  It still looks weird to me, but that&#8217;s how you do it.  The pattern is:<br />
<span class="showascode">[Port #.]domain[.directory][.subdirectory]/</span><br />
So if the URL were to be http://happywebdiva.com/drupal/site2, then the new directory would have to be happywebdiva.com.drupal.site2/</li>
<li>Copy the &#8220;settings.php&#8221; file found in &#8220;sites/default/&#8221; into the new directory.</li>
<li>Edit the new &#8220;settings.php&#8221; file.  Leave the $db_url the same, but on the next line, give $db_prefix a value.  I cleverly edited mine to read:<br />
<span class="showascode">$db_prefix = &#8216;site2_&#8217;;</span><br />
This way you won&#8217;t have to set up a new database.  Once you install the second site (step 6 below), the database size will double &#8212; from 40 tables to 80 tables.</li>
<li>Further down in the &#8220;settings.php&#8221; file, look for a line that&#8217;s something like:<br />
<span class="showascode"># $base_url = &#8216;http://www.example.com&#8217;;</span><br />
Uncomment this and change it to your desired URL.  In my case this was:<br />
<span class="showascode">$base_url = &#8216;http://localhost:8888/drupal/site2&#8242;;</span></li>
<li>Next it&#8217;s time to create the dreaded <a href="http://en.wikipedia.org/wiki/Symbolic_link">symbolic link</a>.  Open Terminal (on a Mac) and use the ln -s command followed by first the full path of your base install and then the full path of the second sites&#8217; directory (leaving off the characters before the periods in the final directory, e.g. changing &#8220;8888.localhost.drupal.site2&#8243; to just &#8220;site2&#8243;).  In my example, it was:<br />
<span class="showascode">ln -s /home/username/public_html/drupal/ /home/username/public_html/drupal/site2</span><br />
One caution: be sure there&#8217;s not a file or directory in the first directory that&#8217;s the same name as your new install. You don&#8217;t want the symbolic link overwriting something critical.</li>
<li>The last step&#8230;. In your browser, go to the new site&#8217;s URL followed by install.php, e.g. http://localhost:8888/drupal/site2/install.php</li>
</ol>
<p>That&#8217;s it.  You should now have a second site (and soon a third and fourth) to play with.</p>
<p><strong>Addendum</strong>:  In the myriad of multi-site documentation that&#8217;s on the web, these three pages helped me the most:</p>
<ul>
<li><a href="http://drupal.org/node/120647">Drupal Cookbook</a> (best if you are using Windows)</li>
<li><a href="http://drupal.org/node/107347">Multisite with drupal for dummies</a></li>
<li><a href="http://geekglue.blogspot.com/2007/09/drupal-multisite-setup.html">Geek Glue</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.happywebdiva.com/2008/02/06/of-tornadoes-and-drupal-multi-site-installs/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Black Turtleneck Day</title>
		<link>http://www.happywebdiva.com/2008/01/14/black-turtleneck-day/</link>
		<comments>http://www.happywebdiva.com/2008/01/14/black-turtleneck-day/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 12:10:50 +0000</pubDate>
		<dc:creator>Anna Belle</dc:creator>
				<category><![CDATA[Mac/OSX]]></category>
		<category><![CDATA[Web Diva Fashion]]></category>

		<guid isPermaLink="false">http://www.happywebdiva.com/2008/01/14/black-turtleneck-day/</guid>
		<description><![CDATA[Tomorrow, Tuesday January 15, I&#8217;ll be wearing a black turtleneck. It&#8217;s not that I&#8217;m an Apple zealot nor is it a statement of solidarity, although I do like many of their products &#8212; a lot. In truth it&#8217;s just one less early-morning wardrobe decision. No jeans, though. Some people look a lot better in dungarees [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Steve_Jobs"><img src="http://www.happywebdiva.com/images/jobs-fashion.jpg" alt="Black turtleneck" class="right" align="right" border="0" height="172" width="151" /></a>Tomorrow, Tuesday January 15, I&#8217;ll be <a href="http://www.macworldexpo.com/conference_program/keynote">wearing a black turtleneck.</a></p>
<p>It&#8217;s not that I&#8217;m an Apple zealot nor is it a statement of solidarity, although I do like many of their products &#8212; a lot.  In truth it&#8217;s just one less early-morning wardrobe decision.</p>
<p>No jeans, though.</p>
<p>Some people look a lot better in dungarees than others.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happywebdiva.com/2008/01/14/black-turtleneck-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Want PHP and MySQL? Get MAMP First</title>
		<link>http://www.happywebdiva.com/2008/01/04/mamp-where-have-you-been-all-my-life/</link>
		<comments>http://www.happywebdiva.com/2008/01/04/mamp-where-have-you-been-all-my-life/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 00:49:20 +0000</pubDate>
		<dc:creator>Anna Belle</dc:creator>
				<category><![CDATA[Mac/OSX]]></category>
		<category><![CDATA[Web Tools]]></category>

		<guid isPermaLink="false">http://www.happywebdiva.com/2008/01/04/mamp-where-have-you-been-all-my-life/</guid>
		<description><![CDATA[Like any self-respecting web diva, one of my first jobs on a new laptop is to turn it into a development server. In other words, I need Apache, PHP and MySQL running on my own machine where no one else can see it and I can be as bad as I want to be. In [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mamp.info/"><img src="http://www.happywebdiva.com/images/mamp.jpg" alt="MAMP" class="right" align="right" border="0" height="122" width="200" /></a>Like any self-respecting web diva, one of my first jobs on a new laptop is to turn it into a development server.  In other words, I need Apache, PHP and MySQL running on my own machine where no one else can see it and I can be as bad as I want to be.</p>
<p>In the past, I&#8217;ve had to do this the old-fashioned way, jumping through various scary hoops like downloading raw PHP and editing obscure hidden files.  But that was then.</p>
<p>In the intervening years, a series of app&#8217;s named things like WAMP and MAMP have come along.   (Gotta love techno-babble.)  These AMP&#8217;s do all this heavy lifting for you.   &#8220;AMP&#8221; stands for Apache, PHP and MySQL.  If you tack a W on the front, it&#8217;s for a Windows machine.  If you tack an M on instead, it&#8217;s for (you guessed it) Mac OSX.</p>
<p>I&#8217;d heard about <a href="http://www.mamp.info/">MAMP</a> before, but installing is believing.  In fact it was so easy I started frantically looking for fancy instructions, but just couldn&#8217;t find any.  In the end, after downloading, unzipping and moving MAMP to the Applications folder, I finally crossed my fingers and double-clicked it.  Voila &#8212; in about 10 seconds everything was done for me.  It even gives you various choices, like PHP 4 or PHP 5.</p>
<p>And now, just a few hours later, I have localhost copies of things like Drupal running on my little old MacBook.  I&#8217;m free to be as bad as I want to be.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happywebdiva.com/2008/01/04/mamp-where-have-you-been-all-my-life/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MacBook At Last</title>
		<link>http://www.happywebdiva.com/2008/01/03/macbook-at-last/</link>
		<comments>http://www.happywebdiva.com/2008/01/03/macbook-at-last/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 03:07:41 +0000</pubDate>
		<dc:creator>Anna Belle</dc:creator>
				<category><![CDATA[Happiness]]></category>
		<category><![CDATA[Mac/OSX]]></category>

		<guid isPermaLink="false">http://www.happywebdiva.com/2008/01/03/macbook-at-last/</guid>
		<description><![CDATA[Yesterday was a banner day. After months (years?) of pining for a small Mac laptop with an Intel processor, I now have one of my very own. It&#8217;s a 2.2GHz Intel Core 2 Duo MacBook &#8212; and it&#8217;s everything I hoped it would be. As of Day 2, here are my top five reasons. 5. [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday was a banner day.  After months (years?) of pining for a small Mac laptop with an Intel processor, I now have one of my very own.  It&#8217;s a 2.2GHz Intel Core 2 Duo <a href="http://www.apple.com/macbook/macbook.html">MacBook</a> &#8212; and it&#8217;s everything I hoped it would be.  As of Day 2, here are my top five reasons.</p>
<p>5. It&#8217;s black and sleek and elegant, like my cat &#8212; not to mention it matches most of my clothes.<br />
4. It may be handsome, but it&#8217;s not showy.<br />
3. Thanks to <a href="http://www.parallels.com/products/desktop/">Parallels</a>, it now runs Windows as a guest OS.  Next up: Ubuntu.<br />
2. It&#8217;s small and light, at least compared with other laptops I&#8217;ve known and loved.  I hope to take it with me everywhere.<br />
1. All in all, it feels very me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.happywebdiva.com/2008/01/03/macbook-at-last/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
